Skip to content

Commit 5a28d9e

Browse files
authored
run-linux.sh: install -suid version of the apptainer package (#18)
This may help with recent breakage due to an ubuntu update https://github.com/eic/epic/actions/runs/12674842835/job/35550216810?pr=823#step:7:101
1 parent 65c8071 commit 5a28d9e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

run-linux.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ else
5252
fi
5353

5454
echo "::group::Installing Apptainer ${v}"
55-
deb="apptainer_${v/v/}_amd64.deb"
56-
sudo wget --tries 5 --quiet --timestamping --output-document /var/cache/apt/archives/${deb} https://github.com/apptainer/apptainer/releases/download/${v}/${deb}
57-
sudo apt-get -q -y install /var/cache/apt/archives/${deb}
55+
for deb in "apptainer_${v/v/}_amd64.deb" "apptainer-suid_${v/v/}_amd64.deb"; do
56+
sudo wget --tries 5 --quiet --timestamping --output-document /var/cache/apt/archives/${deb} https://github.com/apptainer/apptainer/releases/download/${v}/${deb}
57+
sudo apt-get -q -y install /var/cache/apt/archives/${deb}
58+
done
5859
echo "::endgroup::"
5960

6061
worker=$(echo ${SANDBOX_PATH} | sha256sum | awk '{print$1}')

0 commit comments

Comments
 (0)