Skip to content

Commit

Permalink
[FAST_BUILD] [TMP] Fix mamba clean by downloading updated file (#2052)
Browse files Browse the repository at this point in the history
* [TMP] Fix mamba clean by downloading updated file

* Fix wget option
  • Loading branch information
mathbunnyru authored Dec 8, 2023
1 parent b610485 commit 01e2a4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/docker-stacks-foundation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ RUN set -x && \
'mamba' \
'jupyter_core' && \
rm micromamba && \
# Temporary fix till mamba 1.5.5 is released
# Download mamba.py after merged fix for `mamba clean`: https://github.com/mamba-org/mamba/pull/3040
wget --progress=dot:giga https://raw.githubusercontent.com/mamba-org/mamba/cf9c063479c7bd32f1e6e8adfd04a1e15ba12981/mamba/mamba/mamba.py \
-O /opt/conda/lib/python3.11/site-packages/mamba/mamba.py && \
# Pin major.minor version of python
mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
mamba clean --all -f -y && \
Expand Down

0 comments on commit 01e2a4e

Please sign in to comment.