mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Merge pull request #618 from parente/fix-npm-cache-clean
Force npm cache clean
This commit is contained in:
@@ -83,7 +83,7 @@ RUN conda install --quiet --yes \
|
||||
'jupyterlab=0.31.*' && \
|
||||
conda clean -tipsy && \
|
||||
jupyter labextension install @jupyterlab/hub-extension@^0.8.0 && \
|
||||
npm cache clean && \
|
||||
npm cache clean --force && \
|
||||
rm -rf $CONDA_DIR/share/jupyter/lab/staging && \
|
||||
rm -rf /home/$NB_USER/.cache/yarn && \
|
||||
fix-permissions $CONDA_DIR && \
|
||||
|
@@ -49,7 +49,7 @@ RUN conda install --quiet --yes \
|
||||
# Also activate ipywidgets extension for JupyterLab
|
||||
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^0.33.1 && \
|
||||
jupyter labextension install jupyterlab_bokeh@^0.4.0 && \
|
||||
npm cache clean && \
|
||||
npm cache clean --force && \
|
||||
rm -rf $CONDA_DIR/share/jupyter/lab/staging && \
|
||||
rm -rf /home/$NB_USER/.cache/yarn && \
|
||||
rm -rf /home/$NB_USER/.node-gyp && \
|
||||
|
Reference in New Issue
Block a user