This commit is contained in:
Marco Ochse
2024-12-16 14:25:02 +01:00
committed by GitHub
parent 6136cf3206
commit c8b47b09bb

View File

@ -30,9 +30,10 @@ RUN apk --no-cache -U add \
apk --no-cache -U add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \ apk --no-cache -U add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
yq && \ yq && \
# #
# Setup user # Setup user, logrotate permissions
addgroup -g 2000 tpot && \ addgroup -g 2000 tpot && \
adduser -S -s /bin/ash -u 2000 -D -g 2000 tpot && \ adduser -S -s /bin/ash -u 2000 -D -g 2000 tpot && \
chmod 0600 /opt/tpot/etc/logrotate/logrotate.conf && \
# #
# Clean up # Clean up
apk del --purge git && \ apk del --purge git && \