From c208de5051187d68edaa65b74460f3c0c77d0f0f Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Fri, 10 May 2024 22:49:05 +0200 Subject: [PATCH 1/2] add new AlmaLinux 8 GPG key --- almalinux-8.6/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/almalinux-8.6/Dockerfile b/almalinux-8.6/Dockerfile index 9f6f1b8..6a091f8 100644 --- a/almalinux-8.6/Dockerfile +++ b/almalinux-8.6/Dockerfile @@ -3,6 +3,8 @@ RUN useradd -ms /bin/bash easybuild # enable PowerTools repository, required by Lmod in EPEL RUN dnf -y install dnf-plugins-core && dnf config-manager --set-enabled powertools \ && dnf -y install epel-release && dnf -y install python3 Lmod +# Add new AlmaLinux 8 GPG key, c.f. https://almalinux.org/blog/2023-12-20-almalinux-8-key-update/ +RUN rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux # glibc-langpack-en provides locale stuff (for en_US.UTF-8) RUN dnf -y install bzip2 curl diffutils file gcc-c++ git glibc-langpack-en gzip make openssl openssl-devel rdma-core-devel patch sudo tar unzip which xz RUN python3 -m pip install archspec From add96495a9f9da359a17a454821304909910f9d0 Mon Sep 17 00:00:00 2001 From: Sebastian Achilles Date: Fri, 10 May 2024 22:50:20 +0200 Subject: [PATCH 2/2] fix installation of the latest pip for Python 2 in CentOS 7.9 container --- centos-7.9/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centos-7.9/Dockerfile b/centos-7.9/Dockerfile index 5986f3a..ea82f9d 100644 --- a/centos-7.9/Dockerfile +++ b/centos-7.9/Dockerfile @@ -4,4 +4,4 @@ RUN yum -y install epel-release && yum -y install python python2-pip Lmod RUN yum -y install bzip2 curl diffutils file gcc-c++ git gzip make openssl openssl-devel rdma-core-devel patch sudo tar unzip which xz RUN yum -y update ca-certificates # In order to install archspec we need to upgrade pip to latest version for Python 2 -RUN python -m pip install --upgrade 'pip<21' && python -m pip install archspec +RUN python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade 'pip<21' && python -m pip install archspec