Skip to content
Snippets Groups Projects
Commit bfdbf07a authored by Jan David Mol's avatar Jan David Mol
Browse files

Fix directory access rights now that we run Jupyter containers as CONTAINER_USER instead of tango

parent bddd802b
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ RUN sudo jupyter nbextension enable jupyter_bokeh --py --sys-prefix ...@@ -13,7 +13,7 @@ RUN sudo jupyter nbextension enable jupyter_bokeh --py --sys-prefix
# Install profiles for ipython & jupyter # Install profiles for ipython & jupyter
COPY ipython-profiles /opt/ipython-profiles/ COPY ipython-profiles /opt/ipython-profiles/
RUN sudo chown tango.tango -R /opt/ipython-profiles RUN sudo chmod a+rw -R /opt/ipython-profiles
COPY jupyter-kernels /usr/local/share/jupyter/kernels/ COPY jupyter-kernels /usr/local/share/jupyter/kernels/
# Install patched jupyter executable # Install patched jupyter executable
...@@ -27,5 +27,6 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/ ...@@ -27,5 +27,6 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/
RUN sudo chmod +x /usr/bin/tini RUN sudo chmod +x /usr/bin/tini
# Make sure Jupyter can write to the home directory # Make sure Jupyter can write to the home directory
ENV HOME=/home/tango ENV HOME=/home/user
RUN chmod a+rwx /home/tango RUN sudo mkdir -p $HOME
RUN sudo chmod a+rwx $HOME
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment