Skip to content

Commit 42ff5aa

Browse files
committed
Do not hardcode python3.11 in temporary fix
1 parent 027d3a1 commit 42ff5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/docker-stacks-foundation/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ RUN set -x && \
120120
# Temporary fix till mamba 1.5.5 is released
121121
# Download mamba.py after merged fix for `mamba clean`: https://github.com/mamba-org/mamba/pull/3040
122122
wget --progress=dot:giga https://raw.githubusercontent.com/mamba-org/mamba/cf9c063479c7bd32f1e6e8adfd04a1e15ba12981/mamba/mamba/mamba.py \
123-
-O /opt/conda/lib/python3.11/site-packages/mamba/mamba.py && \
123+
-O "/opt/conda/lib/python${PYTHON_VERSION}/site-packages/mamba/mamba.py" && \
124124
# Pin major.minor version of python
125125
mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
126126
mamba clean --all -f -y && \

0 commit comments

Comments
 (0)