Closed echuber2 closed 4 years ago
I was comparing the base images with Jupyter's, and I noticed that at the end of most of the dockerfiles here, you have:
USER $NB_USER
For consistency with the base Jupyter images (and maybe better security in future orchestrations), would it be better to have:
USER $NB_UID
But there's no need to change things like WORKDIR /home/$NB_USER/work, where the username is definitely needed.
WORKDIR /home/$NB_USER/work
For reference, see how this issue was resolved: https://github.com/jupyter/docker-stacks/issues/549
Closing this. It probably doesn't matter for deploying on Coursera Labs.
I was comparing the base images with Jupyter's, and I noticed that at the end of most of the dockerfiles here, you have:
For consistency with the base Jupyter images (and maybe better security in future orchestrations), would it be better to have:
But there's no need to change things like
WORKDIR /home/$NB_USER/work
, where the username is definitely needed.For reference, see how this issue was resolved: https://github.com/jupyter/docker-stacks/issues/549