mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Ensure anything under $HOME is always writable to group.
This commit is contained in:
@@ -50,7 +50,10 @@ RUN conda install --quiet --yes \
|
||||
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^0.33.1 && \
|
||||
npm cache clean && \
|
||||
rm -rf $CONDA_DIR/share/jupyter/lab/staging && \
|
||||
fix-permissions $CONDA_DIR
|
||||
rm -rf /home/$NB_USER/.cache/yarn && \
|
||||
rm -rf /home/$NB_USER/.node-gyp && \
|
||||
fix-permissions $CONDA_DIR && \
|
||||
fix-permissions /home/$NB_USER
|
||||
|
||||
# Install facets which does not have a pip or conda package at the moment
|
||||
RUN cd /tmp && \
|
||||
@@ -58,7 +61,8 @@ RUN cd /tmp && \
|
||||
cd facets && \
|
||||
jupyter nbextension install facets-dist/ --sys-prefix && \
|
||||
rm -rf facets && \
|
||||
fix-permissions $CONDA_DIR
|
||||
fix-permissions $CONDA_DIR && \
|
||||
fix-permissions /home/$NB_USER
|
||||
|
||||
# Import matplotlib the first time to build the font cache.
|
||||
ENV XDG_CACHE_HOME /home/$NB_USER/.cache/
|
||||
|
Reference in New Issue
Block a user