From 5397ff7a58f47ecc0017aa82b41148c0d638760b Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Wed, 2 Oct 2024 14:16:57 +0100 Subject: [PATCH] Update miniforge to latest --- coffea-base/Dockerfile.almalinux8 | 6 +++--- coffea-base/Dockerfile.almalinux9 | 6 +++--- coffea-dask/Dockerfile.almalinux8 | 6 +++--- coffea-dask/Dockerfile.almalinux9 | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/coffea-base/Dockerfile.almalinux8 b/coffea-base/Dockerfile.almalinux8 index f42143c..71c161d 100644 --- a/coffea-base/Dockerfile.almalinux8 +++ b/coffea-base/Dockerfile.almalinux8 @@ -8,9 +8,9 @@ ENV PYTHON_VERSION=${python} RUN yum -y install epel-release \ && yum -y update \ && yum -y install curl git bzip2 libgfortran which zsh emacs vim htop man man-pages \ - && curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ - && bash /tmp/mambaforge.sh -bfp /usr/local \ - && rm -rf /tmp/mambaforge.sh \ + && curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ + && rm -rf Miniforge3.sh \ && mamba update mamba \ && mamba clean --all --yes \ && rpm -e --nodeps curl bzip2 \ diff --git a/coffea-base/Dockerfile.almalinux9 b/coffea-base/Dockerfile.almalinux9 index b16e8df..8420a54 100644 --- a/coffea-base/Dockerfile.almalinux9 +++ b/coffea-base/Dockerfile.almalinux9 @@ -8,9 +8,9 @@ ENV PYTHON_VERSION=${python} RUN yum -y install epel-release \ && yum -y update \ && yum -y --allowerasing install wget git bzip2 libgfortran which zsh emacs vim htop man man-pages \ - && curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ - && bash /tmp/mambaforge.sh -bfp /usr/local \ - && rm -rf /tmp/mambaforge.sh \ + && curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ + && rm -rf Miniforge3.sh \ && mamba update mamba \ && mamba clean --all --yes \ && yum clean all diff --git a/coffea-dask/Dockerfile.almalinux8 b/coffea-dask/Dockerfile.almalinux8 index 022e020..3bcfde3 100644 --- a/coffea-dask/Dockerfile.almalinux8 +++ b/coffea-dask/Dockerfile.almalinux8 @@ -8,9 +8,9 @@ ENV PYTHON_VERSION=${python} RUN yum -y install epel-release \ && yum -y update \ && yum -y install wget git bzip2 libgfortran which zsh emacs vim htop man man-pages \ - && curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ - && bash /tmp/mambaforge.sh -bfp /usr/local \ - && rm -rf /tmp/mambaforge.sh \ + && curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ + && rm -rf Miniforge3.sh \ && mamba update mamba \ && mamba clean --all --yes \ && rpm -e --nodeps curl bzip2 \ diff --git a/coffea-dask/Dockerfile.almalinux9 b/coffea-dask/Dockerfile.almalinux9 index 62be0e7..d053c6a 100644 --- a/coffea-dask/Dockerfile.almalinux9 +++ b/coffea-dask/Dockerfile.almalinux9 @@ -8,9 +8,9 @@ ENV PYTHON_VERSION=${python} RUN yum -y install epel-release \ && yum -y update \ && yum -y --allowerasing install wget git bzip2 libgfortran which zsh emacs vim htop man man-pages \ - && curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ - && bash /tmp/mambaforge.sh -bfp /usr/local \ - && rm -rf /tmp/mambaforge.sh \ + && curl -fsSLo Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ + && rm -rf Miniforge3.sh \ #&& conda config --set solver classic \ && mamba update mamba \ && mamba clean --all --yes \