Skip to content

Commit

Permalink
Merge pull request #1545 from mathbunnyru/asalikhov/try_old_mamba
Browse files Browse the repository at this point in the history
Try to use old mamba version
  • Loading branch information
mathbunnyru authored Dec 13, 2021
2 parents da2acaa + 57156de commit b4aab84
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
contents: write

steps:
- name: Maximize build space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
# Setup docker to build for multiple platforms, see:
# https://github.com/docker/build-push-action/tree/master#usage
# https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
Expand Down
12 changes: 12 additions & 0 deletions base-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@ RUN set -x && \
fix-permissions "${CONDA_DIR}" && \
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
# Generate a notebook server config
# Cleanup temporary files
Expand Down

0 comments on commit b4aab84

Please sign in to comment.