diff options
-rw-r--r-- | deliveries/Dockerfile.sdk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deliveries/Dockerfile.sdk b/deliveries/Dockerfile.sdk index 4757d8a4..b85cf846 100644 --- a/deliveries/Dockerfile.sdk +++ b/deliveries/Dockerfile.sdk @@ -39,7 +39,10 @@ RUN cd ${SDKCONTEXT} && unzip -q *.war && rm *.war VOLUME ${TOMCATHOME}/logs # Switch to unprivileged user -RUN addgroup -g 1000 -S portal && adduser -u 1000 -S portal -G portal +RUN addgroup -g 1000 -S portal && \ + adduser -u 1000 -S portal -G portal && \ + mkdir -p ${TOMCATHOME}/temp && \ + chown portal:portal ${TOMCATHOME}/temp USER portal # Switch back to root |