ensure correct permissions (enforced)

increases robustness to permissions in root image
This commit is contained in:
Michael Pilosov 2020-07-11 11:17:58 -06:00 committed by GitHub
parent 0091efecc4
commit e62025d161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ ARG NB_GID="100"
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root USER root
RUN chmod 1777 /tmp && chmod 1777 /var/tmp
# Install all OS dependencies for notebook server that starts but lacks all # Install all OS dependencies for notebook server that starts but lacks all
# features (e.g., download as all possible file formats) # features (e.g., download as all possible file formats)
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive