Skip to content

Commit

Permalink
add container for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianAchilles committed May 10, 2024
1 parent f8e0807 commit 03c4739
Show file tree
Hide file tree
Showing 3 changed files with 14 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 @@ -32,6 +32,7 @@ jobs:
- ubuntu-20.04
- ubuntu-20.04-python2
- ubuntu-22.04
- ubuntu-24.04
fail-fast: false
steps:
- name: Check out the repo
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Containers for testing EasyBuild, built automatically for `x86_64` and `aarch64`
* `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-20.04-python2`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/ubuntu-20.04-python2/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/ubuntu-20.04-python2)
* `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)
* `ubuntu-24.04`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/ubuntu-24.04/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/ubuntu-24.04)

## Usage with Singularity

Expand Down
12 changes: 12 additions & 0 deletions ubuntu-24.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:24.04
RUN useradd -ms /bin/bash easybuild
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt install -y curl python3 python3-pip \
&& LMOD_VERSION=8.7.37 \
&& curl -OL https://github.com/surak/Lmod/releases/download/${LMOD_VERSION}/lmod_${LMOD_VERSION}_all.deb \
&& apt install -y ./lmod_${LMOD_VERSION}_all.deb
# debianutils provides 'which' command
RUN apt install -y bzip2 debianutils diffutils file gcc g++ git gzip libibverbs-dev openssl libssl-dev make patch sudo tar unzip xz-utils
# Installing system-wide Python packages is not possible anymore, c.f. PEP 668
# RUN python3 -m pip install archspec

0 comments on commit 03c4739

Please sign in to comment.