From b017505502d435a8c75127571c95197ee8b6941f Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 17 Sep 2020 17:50:11 +0200 Subject: [PATCH] [jupyterhub] fix moving root home to /home --- jupyterhub/base/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index ee59097..4283af9 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -21,6 +21,8 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ npm config set cache /var/cache/npm --global && \ npm config set update-notifier false --global +RUN sed -i -e 's|root:/root|root:/home|g' /etc/passwd + ENV HOME=/home ENV XDG_DATA_HOME=/usr/local/share ENV IPYTHONDIR=/usr/local/etc/ipython -- GitLab