Skip to content

Commit

Permalink
install log4pot w/o dev group
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chn0m4g3 committed Jan 14, 2025
1 parent 896d719 commit e53c864
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker/log4pot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive
#
# Install packages
RUN apt-get update -y && \
Expand All @@ -25,13 +25,13 @@ RUN apt-get update -y && \
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 install && \
poetry --no-cache --without=dev install && \
setcap cap_net_bind_service=+ep $(readlink -f $(which python3)) && \
#
# Setup user, groups and configs
Expand Down
2 changes: 1 addition & 1 deletion docker/log4pot/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- "8080:8080"
- "9200:8080"
- "25565:8080"
image: "dtagdevsec/log4pot:24.04"
image: "ghcr.io/telekom-security/log4pot:24.04.1"
read_only: true
volumes:
- $HOME/tpotce/data/log4pot/log:/var/log/log4pot/log
Expand Down

0 comments on commit e53c864

Please sign in to comment.