housekeeping

This commit is contained in:
t3chn0m4g3
2024-12-05 22:39:01 +01:00
parent 7f2667cea8
commit 59cc5c7d38
17 changed files with 39 additions and 165 deletions

View File

@ -3,6 +3,7 @@ ENV DEBIAN_FRONTEND noninteractive
#
# Install packages
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
cargo \
@ -27,11 +28,9 @@ RUN apt-get update -y && \
mkdir -p /opt /var/log/log4pot && \
cd /opt/ && \
git clone https://github.com/thomaspatzke/Log4Pot && \
#git clone https://github.com/t3chn0m4g3/Log4Pot && \
cd Log4Pot && \
git checkout 5002b1fe0f82359ef32dbc3a899e8a701dc3256e && \
sed -i 's#"type": logtype,#"reason": logtype,#g' log4pot-server.py && \
# rm poetry.lock && \
poetry --no-cache install && \
setcap cap_net_bind_service=+ep $(readlink -f $(which python3)) && \
#