Skip to content

Commit

Permalink
Do not hardcode python3.11 in temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Dec 8, 2023
1 parent 027d3a1 commit 42ff5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/docker-stacks-foundation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ RUN set -x && \
# 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 && \
-O "/opt/conda/lib/python${PYTHON_VERSION}/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 42ff5aa

Please sign in to comment.