From 60d89a62f5813070fc57cb5757f8e86aee3a2bb9 Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Mon, 11 May 2026 13:17:24 +0100 Subject: [PATCH] add Ubuntu 26.04 --- .github/workflows/build-publish-containers.yml | 1 + README.md | 1 + ubuntu-26.04/Dockerfile | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 ubuntu-26.04/Dockerfile diff --git a/.github/workflows/build-publish-containers.yml b/.github/workflows/build-publish-containers.yml index 4eec1c4..3a8816e 100644 --- a/.github/workflows/build-publish-containers.yml +++ b/.github/workflows/build-publish-containers.yml @@ -25,6 +25,7 @@ jobs: - ubuntu-20.04-python2 - ubuntu-22.04 - ubuntu-24.04 + - ubuntu-26.04 fail-fast: false steps: - name: Check out the repo diff --git a/README.md b/README.md index 1dfa37a..d687e33 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Containers for testing EasyBuild, built automatically for `x86_64` and `aarch64` * `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) +* `ubuntu-26.04`: [recipe](https://github.com/easybuilders/easybuild-containers/blob/main/ubuntu-26.04/Dockerfile), [image @ ghcr.io](https://github.com/easybuilders/easybuild-containers/pkgs/container/ubuntu-26.04) ## Usage with Singularity diff --git a/ubuntu-26.04/Dockerfile b/ubuntu-26.04/Dockerfile new file mode 100644 index 0000000..037cffc --- /dev/null +++ b/ubuntu-26.04/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu:26.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.62 \ +&& 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