Revert "Remove mamba pin for aarch64"

This reverts commit 62723b7d46.
This commit is contained in:
Ayaz Salikhov
2022-02-04 11:57:26 +03:00
parent f7fbdf8b0c
commit 21e4f1ab3e

View File

@@ -121,6 +121,18 @@ RUN set -x && \
fix-permissions "${CONDA_DIR}" && \ fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}" fix-permissions "/home/${NB_USER}"
# Using fixed version of mamba in arm, because the latest one has problems with arm under qemu
# See: https://github.com/jupyter/docker-stacks/issues/1539
RUN set -x && \
arch=$(uname -m) && \
if [ "${arch}" == "aarch64" ]; then \
mamba install --quiet --yes \
'mamba<0.18' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"; \
fi;
# Install Jupyter Notebook, Lab, and Hub # Install Jupyter Notebook, Lab, and Hub
# Generate a notebook server config # Generate a notebook server config
# Cleanup temporary files # Cleanup temporary files