Finish work on new builder, tweaking

This commit is contained in:
t3chn0m4g3
2024-09-11 10:42:17 +00:00
parent 4f3edb61b3
commit 29ad2a507d
41 changed files with 307 additions and 235 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -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