File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ ENV CONDA_ALWAYS_YES=true
1717# but that would require baking in the URLs for
1818# different Miniconda installer versions into the Dockerfile.
1919ARG PYTHON_VERSION
20- RUN MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"; \
20+ RUN if [ "$PYTHON_VERSION" = "3.8" ]; then \
21+ # last version of conda compatible with python 3.8
22+ MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-py38_23.11.0-2-Linux-x86_64.sh"; \
23+ else \
24+ MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"; \
25+ fi && \
2126 wget --quiet $MINICONDA_URL -O /tmp/miniconda.sh && \
2227 /bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2328 rm /tmp/miniconda.sh && \
You can’t perform that action at this time.
0 commit comments