Skip to content

Commit

Permalink
Pin poetry==1.8.3
Browse files Browse the repository at this point in the history
Multi-arch builds for log4pot are currently only working when pinning `poetry==1.8.3`.
As reported pipeline did not push images to registries (#1736)
  • Loading branch information
t3chn0m4g3 authored Jan 15, 2025
1 parent 4917c42 commit 8162ce2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/log4pot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND=noninteractive
#
# Install packages
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
cargo \
Expand All @@ -21,21 +21,21 @@ RUN apt-get update -y && \
python3-dev \
rust-all && \
pip3 install --no-cache-dir --break-system-packages \
poetry \
poetry==1.8.3 \
pycurl && \
#
# Install log4pot from GitHub and setup
mkdir -p /opt /var/log/log4pot && \
mkdir -p /opt /var/log/log4pot && \
cd /opt/ && \
git clone https://github.com/thomaspatzke/Log4Pot && \
cd Log4Pot && \
git checkout 5002b1fe0f82359ef32dbc3a899e8a701dc3256e && \
sed -i 's#"type": logtype,#"reason": logtype,#g' log4pot-server.py && \
poetry --no-cache --without=dev install && \
setcap cap_net_bind_service=+ep $(readlink -f $(which python3)) && \
poetry --no-cache --without=dev install && \
setcap cap_net_bind_service=+ep $(readlink -f $(which python3)) && \
#
# Setup user, groups and configs
addgroup --gid 2000 log4pot && \
addgroup --gid 2000 log4pot && \
adduser --system --no-create-home --shell /bin/bash -uid 2000 --disabled-password --disabled-login -gid 2000 log4pot && \
chown log4pot:log4pot -R /opt/Log4Pot && \
#
Expand Down

0 comments on commit 8162ce2

Please sign in to comment.