Skip to content

Commit

Permalink
Merge pull request #30 from SebastianAchilles/centos79+almalinux86
Browse files Browse the repository at this point in the history
Fix CentOS 7.9 and AlmaLinux 8.6 container
  • Loading branch information
branfosj authored May 15, 2024
2 parents f8e0807 + add9649 commit 7c996bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions almalinux-8.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion centos-7.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7c996bb

Please sign in to comment.