From 293266e9be7fba77f1c4ceeaac024ba99f700c60 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 3 Feb 2022 22:03:34 +0100 Subject: [PATCH] Minimize extraneous changes --- base-notebook/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index 8f05ccd7..770b2229 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -98,11 +98,16 @@ RUN echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \ chown "${NB_USER}:${NB_GID}" "${CONDA_DIR}" && \ chmod g+w /etc/passwd && \ mkdir "/home/${NB_USER}/work" && \ - fix-permissions "${HOME}" + fix-permissions "${HOME}" && \ + fix-permissions "${CONDA_DIR}" USER ${NB_UID} ARG PYTHON_VERSION=3.9 +# Setup work directory for backward-compatibility +RUN mkdir "/home/${NB_USER}/work" && \ + fix-permissions "/home/${NB_USER}" + # Download and install Micromamba, and initialize Conda prefix. # # Similar projects using Micromamba: