Skip to content

Commit

Permalink
add container for Rocky Linux 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianAchilles committed Aug 17, 2023
1 parent 731ca0e commit 3318c9f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-publish-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- rockylinux-8.8
- rockylinux-9.0
- rockylinux-9.1
- rockylinux-9.2
- almalinux-8.6
- almalinux-9.0
- ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Containers for testing EasyBuild, built automatically for `x86_64` and `aarch64`
* `rockylinux-8.8`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/rockylinux-8.8/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/rockylinux-8.8)
* `rockylinux-9.0`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/rockylinux-9.0/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/rockylinux-9.0)
* `rockylinux-9.1`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/rockylinux-9.1/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/rockylinux-9.1)
* `rockylinux-9.2`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/rockylinux-9.2/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/rockylinux-9.2)
* `ubuntu-20.04`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/ubuntu-20.04/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/ubuntu-20.04)
* `ubuntu-22.04`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/ubuntu-22.04/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/ubuntu-22.04)

Expand Down
26 changes: 26 additions & 0 deletions rockylinux-9.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM rockylinux:9.2
ENV LMOD_VER 8.7
RUN useradd -ms /bin/bash easybuild
RUN dnf -y update \
# enable crb repository
&& dnf -y install dnf-plugins-core && dnf config-manager --set-enabled crb \
&& dnf -y install epel-release && dnf -y install python3 python3-pip
# --allowerasing is required to allow to install curl and remove conflicting curl-minimal which is part of the base image
# glibc-langpack-en provides locale stuff (for en_US.UTF-8)
RUN dnf -y --allowerasing install bzip2 curl diffutils file findutils gcc-c++ git glibc-langpack-en gzip make openssl openssl-devel rdma-core-devel patch sudo tar unzip which xz
# install requirements to build Lmod
RUN dnf -y install procps-ng lua-filesystem lua-posix lua-devel lua tcl
# Build Lmod from source
RUN curl -LO https://sourceforge.net/projects/lmod/files/Lmod-${LMOD_VER}.tar.bz2 \
&& tar xf Lmod-${LMOD_VER}.tar.bz2 \
&& cd Lmod-${LMOD_VER} \
&& ./configure --prefix=/opt/apps --with-fastTCLInterp=no \
&& make install \
&& cd .. \
&& rm -rf Lmod-${LMOD_VER} \
&& rm -rf Lmod-${LMOD_VER}.tar.bz2 \
&& ln -s /opt/apps/lmod/lmod/init/profile /etc/profile.d/modules.sh \
&& ln -s /opt/apps/lmod/lmod/init/cshrc /etc/profile.d/modules.csh
# install requirements to build OpenSSL 1.1 and 3.0 from source
RUN dnf -y install perl-FindBin perl-File-Compare perl-File-Copy perl-IPC-Cmd perl-Pod-Html
RUN python3 -m pip install archspec

0 comments on commit 3318c9f

Please sign in to comment.