mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 14:02:58 +00:00
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:
@@ -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 && \
|
||||
|
Reference in New Issue
Block a user