harden, reduce size log4pot

This commit is contained in:
t3chn0m4g3 2022-03-04 13:13:48 +00:00
parent 3b65fb039b
commit 075551d218

View file

@ -3,7 +3,6 @@ ENV DEBIAN_FRONTEND noninteractive
#
# Install packages
RUN apt-get update -y && \
apt-get dist-upgrade -y && \
apt-get install -y \
build-essential \
cargo \
@ -48,7 +47,7 @@ RUN apt-get update -y && \
python3-dev \
rust-all && \
apt-get autoremove -y --purge && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache /opt/Log4Pot/.git
#
# Start log4pot
STOPSIGNAL SIGINT