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

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