mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-12 11:19:07 +00:00
install log4pot w/o dev group
This commit is contained in:
parent
896d719cfb
commit
e53c864138
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
FROM ubuntu:24.04
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
#
|
||||
# Install packages
|
||||
RUN apt-get update -y && \
|
||||
|
@ -31,7 +31,7 @@ RUN apt-get update -y && \
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue