Skip to content

Commit 21e4f1a

Browse files
author
Ayaz Salikhov
committed
Revert "Remove mamba pin for aarch64"
This reverts commit 62723b7.
1 parent f7fbdf8 commit 21e4f1a

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
@@ -121,6 +121,18 @@ RUN set -x && \
121121
fix-permissions "${CONDA_DIR}" && \
122122
fix-permissions "/home/${NB_USER}"
123123

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

0 commit comments

Comments
 (0)