Merge pull request #618 from parente/fix-npm-cache-clean

Force npm cache clean
This commit is contained in:
Peter Parente
2018-04-24 07:38:23 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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 && \

View File

@@ -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 && \