diff --git a/.github/workflows/build-publish-containers.yml b/.github/workflows/build-publish-containers.yml index f9d5bab..0df7d66 100644 --- a/.github/workflows/build-publish-containers.yml +++ b/.github/workflows/build-publish-containers.yml @@ -28,6 +28,7 @@ jobs: - almalinux-8.6 - almalinux-9.0 - ubuntu-20.04 + - ubuntu-20.04-python2 - ubuntu-22.04 fail-fast: false steps: diff --git a/ubuntu-20.04-python2/Dockerfile b/ubuntu-20.04-python2/Dockerfile new file mode 100644 index 0000000..1ddc264 --- /dev/null +++ b/ubuntu-20.04-python2/Dockerfile @@ -0,0 +1,13 @@ +FROM ubuntu:20.04 +RUN useradd -ms /bin/bash easybuild +ENV DEBIAN_FRONTEND=noninteractive +RUN apt update \ +&& apt install -y curl python2 python-pip-whl \ +&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \ +&& python2 get-pip.py \ +&& LMOD_VERSION=8.6.12 \ +&& 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 +RUN python2 -m pip install archspec==0.1.4