From cbf15362ab7e431e3dc2046cbaed010a28e14dd8 Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Thu, 13 Jun 2024 12:49:23 +0200 Subject: [PATCH] Update mamba installation version to latest --- coffea-base/Dockerfile.almalinux9 | 5 ++--- coffea-dask/Dockerfile.almalinux9 | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/coffea-base/Dockerfile.almalinux9 b/coffea-base/Dockerfile.almalinux9 index 13f6fd9..3577141 100644 --- a/coffea-base/Dockerfile.almalinux9 +++ b/coffea-base/Dockerfile.almalinux9 @@ -8,12 +8,11 @@ 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 \ - && wget 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 \ + && wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ && rm -rf /tmp/mambaforge.sh \ && mamba update mamba \ && mamba clean --all --yes \ - && rpm -e --nodeps curl bzip2 \ && yum clean all COPY environment.yaml / diff --git a/coffea-dask/Dockerfile.almalinux9 b/coffea-dask/Dockerfile.almalinux9 index 30b5b18..6d9948c 100644 --- a/coffea-dask/Dockerfile.almalinux9 +++ b/coffea-dask/Dockerfile.almalinux9 @@ -7,14 +7,12 @@ ENV PYTHON_VERSION=${python} RUN yum -y install epel-release \ && yum -y update \ - && yum -y remove curl-minimal \ && yum -y --allowerasing install wget git bzip2 libgfortran which zsh emacs vim htop man man-pages \ - && wget 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 \ + && wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" \ + && bash Miniforge3.sh -bfp /usr/local \ && rm -rf /tmp/mambaforge.sh \ && mamba update mamba \ && mamba clean --all --yes \ - && rpm -e --nodeps curl bzip2 \ && yum clean all COPY environment.yaml /