File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
packaging/docker/khiopspydev Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ RUN true \
3232 && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \
3333 # Install miniforge to have multiple Python versions via Conda \
3434 && mkdir -p /root/miniforge3 && cd /root/miniforge3 \
35- && wget https://github.com/conda-forge/miniforge/releases/download/24.1.2 -0/Miniforge3-24.1.2 -0-Linux-x86_64.sh -O ./Miniforge3_24.1.2 -0-Linux-x86_64.sh \
36- && echo "dbadb808edf4da00af35d888d3eeebbfdce71972b60bf4b16dbacaee2ab57f28 Miniforge3_24.1.2 -0-Linux-x86_64.sh" | sha256sum --check \
37- && bash ./Miniforge3_24.1.2 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
38- && rm -rf /root/miniforge3/Miniforge3_24.1.2 -0-Linux-x86_64.sh \
35+ && wget https://github.com/conda-forge/miniforge/releases/download/25.9.1 -0/Miniforge3-25.9.1 -0-Linux-x86_64.sh -O ./Miniforge3_25.9.1 -0-Linux-x86_64.sh \
36+ && echo "07f64c1d908ae036e9f6a81f97704899311c0ae677d83980d664b9781d4cc5fc Miniforge3_25.9.1 -0-Linux-x86_64.sh" | sha256sum --check \
37+ && bash ./Miniforge3_25.9.1 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
38+ && rm -rf /root/miniforge3/Miniforge3_25.9.1 -0-Linux-x86_64.sh \
3939 # Make sure that MPI is openmpi \
4040 && update-alternatives --set mpirun /usr/bin/mpirun.openmpi \
4141 # Clean build files \
@@ -59,6 +59,8 @@ RUN true \
5959 else \
6060 export RC_LABEL=""; \
6161 fi; \
62+ # Update conda to the latest version \
63+ $CONDA update -n base -c conda-forge conda; \
6264 for version in ${PYTHON_VERSIONS}; \
6365 do \
6466 CONDA_ENVS="py${version} py${version}_conda"; \
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ RUN true \
5858 fi \
5959 # Install miniforge to have multiple Python versions via Conda \
6060 && mkdir -p /root/miniforge3 && cd /root/miniforge3 \
61- && wget https://github.com/conda-forge/miniforge/releases/download/24.1.2 -0/Miniforge3-24.1.2 -0-Linux-x86_64.sh -O ./Miniforge3_24.1.2 -0-Linux-x86_64.sh \
62- && echo "dbadb808edf4da00af35d888d3eeebbfdce71972b60bf4b16dbacaee2ab57f28 Miniforge3_24.1.2 -0-Linux-x86_64.sh" | sha256sum --check \
63- && bash ./Miniforge3_24.1.2 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
64- && rm -rf /root/miniforge3/Miniforge3_24.1.2 -0-Linux-x86_64.sh \
61+ && wget https://github.com/conda-forge/miniforge/releases/download/25.9.1 -0/Miniforge3-25.9.1 -0-Linux-x86_64.sh -O ./Miniforge3_25.9.1 -0-Linux-x86_64.sh \
62+ && echo "07f64c1d908ae036e9f6a81f97704899311c0ae677d83980d664b9781d4cc5fc Miniforge3_25.9.1 -0-Linux-x86_64.sh" | sha256sum --check \
63+ && bash ./Miniforge3_25.9.1 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
64+ && rm -rf /root/miniforge3/Miniforge3_25.9.1 -0-Linux-x86_64.sh \
6565 # Clean build files \
6666 && dnf clean all \
6767 && rm -rf ./khiops \
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ RUN true \
3030 && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \
3131 # Install miniforge to have multiple Python versions via Conda \
3232 && mkdir -p /root/miniforge3 && cd /root/miniforge3 \
33- && wget https://github.com/conda-forge/miniforge/releases/download/24.1.2 -0/Miniforge3-24.1.2 -0-Linux-x86_64.sh -O ./Miniforge3_24.1.2 -0-Linux-x86_64.sh \
34- && echo "dbadb808edf4da00af35d888d3eeebbfdce71972b60bf4b16dbacaee2ab57f28 Miniforge3_24.1.2 -0-Linux-x86_64.sh" | sha256sum --check \
35- && bash ./Miniforge3_24.1.2 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
36- && rm -rf /root/miniforge3/Miniforge3_24.1.2 -0-Linux-x86_64.sh \
33+ && wget https://github.com/conda-forge/miniforge/releases/download/25.9.1 -0/Miniforge3-25.9.1 -0-Linux-x86_64.sh -O ./Miniforge3-25.9.1 -0-Linux-x86_64.sh \
34+ && echo "07f64c1d908ae036e9f6a81f97704899311c0ae677d83980d664b9781d4cc5fc Miniforge3-25.9.1 -0-Linux-x86_64.sh" | sha256sum --check \
35+ && bash ./Miniforge3-25.9.1 -0-Linux-x86_64.sh -b -u -p /root/miniforge3 \
36+ && rm -rf /root/miniforge3/Miniforge3-25.9.1 -0-Linux-x86_64.sh \
3737 # Make sure that MPI is openmpi \
3838 && update-alternatives --set mpirun /usr/bin/mpirun.openmpi \
3939 # Clean build files \
@@ -57,6 +57,8 @@ RUN true \
5757 else \
5858 export RC_LABEL=""; \
5959 fi; \
60+ # Update conda to the latest version \
61+ $CONDA update -n base -c conda-forge conda; \
6062 for version in ${PYTHON_VERSIONS}; \
6163 do \
6264 CONDA_ENVS="py${version} py${version}_conda"; \
You can’t perform that action at this time.
0 commit comments