Use NB_UID for USER statement in Dockerfile so deployment platform can verify that image doesn't run as root.

This commit is contained in:
Graham Dumpleton
2018-02-15 11:11:32 +11:00
parent c54800018c
commit 770007bb10
8 changed files with 11 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ RUN mkdir /etc/julia && \
chown $NB_USER $JULIA_PKGDIR && \
fix-permissions $JULIA_PKGDIR
USER $NB_USER
USER $NB_UID
# R packages including IRKernel which gets installed globally.
RUN conda config --system --append channels r && \