Skip to content

Commit 01e2a4e

Browse files
authored
[FAST_BUILD] [TMP] Fix mamba clean by downloading updated file (#2052)
* [TMP] Fix mamba clean by downloading updated file * Fix wget option
1 parent b610485 commit 01e2a4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

images/docker-stacks-foundation/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ RUN set -x && \
117117
'mamba' \
118118
'jupyter_core' && \
119119
rm micromamba && \
120+
# Temporary fix till mamba 1.5.5 is released
121+
# Download mamba.py after merged fix for `mamba clean`: https://github.com/mamba-org/mamba/pull/3040
122+
wget --progress=dot:giga https://rg.gosu.cc/mamba-org/mamba/cf9c063479c7bd32f1e6e8adfd04a1e15ba12981/mamba/mamba/mamba.py \
123+
-O /opt/conda/lib/python3.11/site-packages/mamba/mamba.py && \
120124
# Pin major.minor version of python
121125
mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
122126
mamba clean --all -f -y && \

0 commit comments

Comments
 (0)