Skip to content

Commit cce3f2f

Browse files
authored
Merge pull request #219 from boegel/debian11_build_container
use newer build container (Debian 11 w/ fuse-overlayfs 1.9)
2 parents 19276ad + f66397e commit cce3f2f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/tests_scripts.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ jobs:
2828
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
2929

3030
# see https://github.com/apptainer/singularity/issues/5390#issuecomment-899111181
31-
- name: install Singularity
31+
- name: install Apptainer
3232
run: |
3333
sudo apt-get install alien
3434
alien --version
35-
singularity_rpm=$(curl --silent -L https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/ | grep singularity | sed 's/.*\(singularity[0-9._a-z-]*.rpm\).*/\1/g')
36-
curl -OL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/$singularity_rpm
37-
sudo alien -d $singularity_rpm
38-
sudo apt install ./singularity*.deb
35+
apptainer_rpm=$(curl --silent -L https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/ | grep 'apptainer-[0-9]' | sed 's/.*\(apptainer[0-9._a-z-]*.rpm\).*/\1/g')
36+
curl -OL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/$apptainer_rpm
37+
sudo alien -d $apptainer_rpm
38+
sudo apt install ./apptainer*.deb
39+
apptainer --version
40+
# also check whether 'singularity' command is still provided by Apptainer installation
3941
singularity --version
4042
4143
- name: test install_software_layer.sh script

build_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BUILD_CONTAINER="docker://ghcr.io/eessi/build-node:debian10"
3+
BUILD_CONTAINER="docker://ghcr.io/eessi/build-node:debian11"
44

55
if [ $# -lt 2 ]; then
66
echo "Usage: $0 <shell|run> <path for temporary directories>" >&2

0 commit comments

Comments
 (0)