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 /