Skip to content

Commit 57156de

Browse files
author
Ayaz Salikhov
committed
Older mamba for arm
1 parent 4ae1d3e commit 57156de

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

base-notebook/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@ RUN set -x && \
109109
fix-permissions "${CONDA_DIR}" && \
110110
fix-permissions "/home/${NB_USER}"
111111

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

0 commit comments

Comments
 (0)