File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 55
55
contents : write
56
56
57
57
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
+
58
64
# Setup docker to build for multiple platforms, see:
59
65
# https://github.com/docker/build-push-action/tree/master#usage
60
66
# https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
Original file line number Diff line number Diff line change @@ -109,6 +109,18 @@ RUN set -x && \
109
109
fix-permissions "${CONDA_DIR}" && \
110
110
fix-permissions "/home/${NB_USER}"
111
111
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
+
112
124
# Install Jupyter Notebook, Lab, and Hub
113
125
# Generate a notebook server config
114
126
# Cleanup temporary files
You can’t perform that action at this time.
0 commit comments