From b3a193346710080abe846c1b56ba1a0a30bec6ee Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Wed, 25 Aug 2021 02:00:45 +0300 Subject: [PATCH] Use conda update --all --- base-notebook/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index 358f3e78..f57f4e46 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -97,8 +97,9 @@ RUN set -x && \ conda config --system --set show_channel_urls true && \ if [[ "${PYTHON_VERSION}" != "default" ]]; then mamba install --quiet --yes python="${PYTHON_VERSION}"; fi && \ mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \ - mamba update --all --quiet --yes && \ - mamba clean --all -f -y && \ + # Using conda to update all packages: https://github.com/mamba-org/mamba/issues/1092 + conda update --all --quiet --yes && \ + conda clean --all -f -y && \ rm -rf "/home/${NB_USER}/.cache/yarn" && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}"