CI: switch from alpine edge to alpine v3.13 for firejail (#2465)

We have removed firejail from Alpine edge due to numerous security concerns
with that project.  Alpine 3.13 will be the last branch to carry it.

Accordingly, switch the CI to Alpine 3.13 from Alpine edge.
This commit is contained in:
Ariadne Conill authored and GitHub committed 2021-04-29 19:06:53 +02:00
1 parent 9d282577ae
commit 3d6ab19af3
1 file changed
+2 -2
+2 -2
View File
@@ -213,9 +213,9 @@ echo "TERMINAL: $TERMINAL"
# "Install" Firejail
# The simplest and most straightforward way to get the most recent version
# of Firejail running on a less than recent OS; don't do this at home kids
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/" -O - | grep musl-1 | head -n 1 | cut -d '"' -f 2)
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/" -O - | grep musl-1 | head -n 1 | cut -d '"' -f 2)
wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/$FILE"
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/" -O - | grep firejail-0 | head -n 1 | cut -d '"' -f 2)
FILE=$(wget -q "http://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/" -O - | grep firejail-0 | head -n 1 | cut -d '"' -f 2)
wget -c "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/$FILE"
sudo tar xf musl-*.apk -C / 2>/dev/null
sudo tar xf firejail-*.apk -C / 2>/dev/null