From 35afa5cea50db8c5c5154eea55e843c85defb395 Mon Sep 17 00:00:00 2001 From: Marcel R Date: Sun, 5 Nov 2023 10:36:15 +0100 Subject: [PATCH] Update yum setup. --- docker/Dockerfile_alma9_py37 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile_alma9_py37 b/docker/Dockerfile_alma9_py37 index 1cc9c306..4e88b70b 100644 --- a/docker/Dockerfile_alma9_py37 +++ b/docker/Dockerfile_alma9_py37 @@ -32,15 +32,12 @@ COPY bashrc /root/.bashrc WORKDIR /root/install # prepare yum -RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ - sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* -RUN sed -i -r 's/^(override_install_langs=.+)/#\1/' /etc/yum.conf RUN yum -y update; yum clean all -RUN yum -y install yum-utils epel-release curl wget bzip2; yum clean all +RUN yum -y install yum-utils epel-release curl wget bzip2 --allowerasing; yum clean all # setup mamba -env MAMBA_ROOT_PREFIX "${LAW_MAMBA_ROOT}" -env MAMBA_EXE "${MAMBA_ROOT_PREFIX}/bin/micromamba" +ENV MAMBA_ROOT_PREFIX "${LAW_MAMBA_ROOT}" +ENV MAMBA_EXE "${MAMBA_ROOT_PREFIX}/bin/micromamba" ENV PATH "${MAMBA_ROOT_PREFIX}/bin:${PATH}" RUN case "${TARGETPLATFORM}" in \ "linux/amd64") MAMBA_PLATFORM="linux-64" ;; \