diff --git a/etc/dockerfiles/stack-build/lts-8.0/Dockerfile b/etc/dockerfiles/stack-build/lts-8.0/Dockerfile index c848930792..906e3d9f98 100644 --- a/etc/dockerfiles/stack-build/lts-8.0/Dockerfile +++ b/etc/dockerfiles/stack-build/lts-8.0/Dockerfile @@ -42,8 +42,9 @@ RUN stack --system-ghc --resolver=$LTS_SLUG --local-bin-path=/usr/local/bin inst # Install proper 'pid1' init daemon # -RUN wget -O- "https://github.com/fpco/pid1/releases/download/pid1%2F$PID1_VERSION/pid1-$PID1_VERSION-linux-x86_64.tar.gz" |tar xzf - -C /usr/local - +RUN wget -O- "https://github.com/fpco/pid1/releases/download/pid1%2F$PID1_VERSION/pid1-$PID1_VERSION-linux-x86_64.tar.gz" | tar xzf - -C /usr/local && \ + chown root:root /usr/local/sbin && \ + chown root:root /usr/local/sbin/pid1 # # Set up pid1 entrypoint and default command #