mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +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:
@@ -15,7 +15,7 @@ RUN apt-get update && \
|
||||
gcc && apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER $NB_USER
|
||||
USER $NB_UID
|
||||
|
||||
# R packages
|
||||
RUN conda install --quiet --yes \
|
||||
|
Reference in New Issue
Block a user