This commit is contained in:
Marco Ochse 2024-12-16 14:25:02 +01:00 committed by GitHub
parent 6136cf3206
commit c8b47b09bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 \
yq && \
#
# Setup user
# Setup user, logrotate permissions
addgroup -g 2000 tpot && \
adduser -S -s /bin/ash -u 2000 -D -g 2000 tpot && \
chmod 0600 /opt/tpot/etc/logrotate/logrotate.conf && \
#
# Clean up
apk del --purge git && \