From f6398f9cbb88a632c72276024854b8002c791496 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Mon, 16 Dec 2024 13:30:08 +0100 Subject: [PATCH] fixes #1715 --- docker/tpotinit/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/tpotinit/Dockerfile b/docker/tpotinit/Dockerfile index 4b89efba4..1f59cf63b 100644 --- a/docker/tpotinit/Dockerfile +++ b/docker/tpotinit/Dockerfile @@ -30,9 +30,10 @@ RUN apk --no-cache -U upgrade && \ 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 && \