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

@@ -19,7 +19,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 \