@@ -34,7 +34,7 @@ RUN chmod +x /entrypoint.sh \ | |||
&& mkdir -p /home/noroot \ | |||
&& groupadd -r noroot \ | |||
&& useradd -r -g noroot -s /bin/bash -d /home/noroot noroot \ | |||
&& chown -R noroot:noroot /home/noroot ${BUILD_PREFIX} | |||
&& chown -R noroot:noroot /home/noroot ${BUILD_PREFIX} /usr/local/lib | |||
USER noroot | |||
@@ -28,8 +28,8 @@ RUN chmod +x /entrypoint.sh \ | |||
&& mkdir -p /home/noroot \ | |||
&& groupadd -r noroot \ | |||
&& useradd -r -g noroot -s /bin/bash -d /home/noroot noroot \ | |||
&& chown -R noroot:noroot /home/noroot ${BUILD_PREFIX} | |||
&& chown -R noroot:noroot /home/noroot ${BUILD_PREFIX} /usr/local/lib | |||
USER noroot | |||
ENTRYPOINT ["/entrypoint.sh"] | |||
ENTRYPOINT ["/entrypoint.sh"] |