mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00
fixes #1715
This commit is contained in:
parent
1231c54c36
commit
f6398f9cbb
1 changed files with 2 additions and 1 deletions
|
@ -30,9 +30,10 @@ RUN apk --no-cache -U upgrade && \
|
||||||
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 && \
|
||||||
|
|
Loading…
Reference in a new issue