Sfoglia il codice sorgente

fix(docker): chown /usr/local/lib in debian dockerfile

master
lanvent 1 anno fa
parent
commit
9d2cb75c84
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +1
    -1
      docker/Dockerfile.debian
  2. +2
    -2
      docker/Dockerfile.latest

+ 1
- 1
docker/Dockerfile.debian Vedi File

@@ -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



+ 2
- 2
docker/Dockerfile.latest Vedi File

@@ -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"]

Loading…
Annulla
Salva