Skip to content

Commit b4aab84

Browse files
authored
Merge pull request #1545 from mathbunnyru/asalikhov/try_old_mamba
Try to use old mamba version
2 parents da2acaa + 57156de commit b4aab84

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
contents: write
5656

5757
steps:
58+
- name: Maximize build space
59+
run: |
60+
sudo rm -rf /usr/share/dotnet
61+
sudo rm -rf /usr/local/lib/android
62+
sudo rm -rf /opt/ghc
63+
5864
# Setup docker to build for multiple platforms, see:
5965
# https://github.com/docker/build-push-action/tree/master#usage
6066
# https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md

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)