Commit c83aec5f authored by echowhisky's avatar echowhisky

changed `-tipsy` flag to `--all -y`

Following the discussion in issue #861, this changes the `conda clean`
flags.
parent 7d427e7a
...@@ -79,7 +79,7 @@ RUN cd /tmp && \ ...@@ -79,7 +79,7 @@ RUN cd /tmp && \
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \ $CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
$CONDA_DIR/bin/conda install --quiet --yes conda="${CONDA_VERSION%.*}.*" && \ $CONDA_DIR/bin/conda install --quiet --yes conda="${CONDA_VERSION%.*}.*" && \
$CONDA_DIR/bin/conda update --all --quiet --yes && \ $CONDA_DIR/bin/conda update --all --quiet --yes && \
conda clean -tipsy && \ conda clean --all -y && \
rm -rf /home/$NB_USER/.cache/yarn && \ rm -rf /home/$NB_USER/.cache/yarn && \
fix-permissions $CONDA_DIR && \ fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER fix-permissions /home/$NB_USER
...@@ -87,7 +87,7 @@ RUN cd /tmp && \ ...@@ -87,7 +87,7 @@ RUN cd /tmp && \
# Install Tini # Install Tini
RUN conda install --quiet --yes 'tini=0.18.0' && \ RUN conda install --quiet --yes 'tini=0.18.0' && \
conda list tini | grep tini | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \ conda list tini | grep tini | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \
conda clean -tipsy && \ conda clean --all -y && \
fix-permissions $CONDA_DIR && \ fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER fix-permissions /home/$NB_USER
...@@ -101,7 +101,7 @@ RUN conda install --quiet --yes \ ...@@ -101,7 +101,7 @@ RUN conda install --quiet --yes \
'notebook=5.7.8' \ 'notebook=5.7.8' \
'jupyterhub=0.9.6' \ 'jupyterhub=0.9.6' \
'jupyterlab=0.35.4' && \ 'jupyterlab=0.35.4' && \
conda clean -tipsy && \ conda clean --all -y && \
jupyter labextension install @jupyterlab/hub-extension@^0.12.0 && \ jupyter labextension install @jupyterlab/hub-extension@^0.12.0 && \
npm cache clean --force && \ npm cache clean --force && \
jupyter notebook --generate-config && \ jupyter notebook --generate-config && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment