mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Finish work on new builder, tweaking
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
FROM alpine:3.19
|
||||
#
|
||||
# Install packages
|
||||
RUN apk -U --no-cache add \
|
||||
RUN apk --no-cache -U add \
|
||||
build-base \
|
||||
file \
|
||||
git \
|
||||
|
@ -3,8 +3,8 @@ FROM alpine:3.19
|
||||
# Include dist
|
||||
COPY dist/ /root/dist/
|
||||
#
|
||||
# Setup apk and redis
|
||||
RUN apk -U --no-cache add redis shadow && \
|
||||
# Install packages
|
||||
RUN apk --no-cache -U add redis shadow && \
|
||||
cp /root/dist/redis.conf /etc && \
|
||||
#
|
||||
# Setup user and group
|
||||
@ -14,9 +14,10 @@ RUN apk -U --no-cache add redis shadow && \
|
||||
# Clean up
|
||||
apk del --purge \
|
||||
shadow && \
|
||||
rm -rf /root/* && \
|
||||
rm -rf /tmp/* /var/tmp/* && \
|
||||
rm -rf /var/cache/apk/*
|
||||
rm -rf /root/* \
|
||||
/tmp/* \
|
||||
/var/tmp/* \
|
||||
/var/cache/apk/*
|
||||
#
|
||||
# Start redis
|
||||
STOPSIGNAL SIGKILL
|
||||
|
@ -3,8 +3,8 @@ FROM alpine:3.19
|
||||
# Include dist
|
||||
COPY dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN apk -U --no-cache add \
|
||||
# Install packages
|
||||
RUN apk --no-cache -U add \
|
||||
build-base \
|
||||
git \
|
||||
linux-headers \
|
||||
@ -45,9 +45,9 @@ RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
linux-headers \
|
||||
python3-dev && \
|
||||
rm -rf /root/* && \
|
||||
rm -rf /tmp/* /var/tmp/* && \
|
||||
rm -rf /var/cache/apk/*
|
||||
rm -rf /root/* \
|
||||
/tmp/* /var/tmp/* \
|
||||
/var/cache/apk/*
|
||||
#
|
||||
# Start snare
|
||||
STOPSIGNAL SIGKILL
|
||||
|
@ -3,8 +3,8 @@ FROM alpine:3.17
|
||||
# Include dist
|
||||
COPY dist/ /root/dist/
|
||||
#
|
||||
# Setup apt
|
||||
RUN apk -U --no-cache add \
|
||||
# Install packages
|
||||
RUN apk --no-cache -U add \
|
||||
build-base \
|
||||
git \
|
||||
libcap \
|
||||
@ -67,8 +67,11 @@ RUN apk -U --no-cache add \
|
||||
# libressl-dev \
|
||||
linux-headers \
|
||||
python3-dev && \
|
||||
rm -rf /root/* && \
|
||||
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /opt/tanner/.git
|
||||
rm -rf /root/* \
|
||||
/tmp/* \
|
||||
/var/tmp/* \
|
||||
/var/cache/apk/* \
|
||||
/opt/tanner/.git
|
||||
#
|
||||
# Start tanner
|
||||
STOPSIGNAL SIGKILL
|
||||
|
Reference in New Issue
Block a user