From 3d6ab19af32e29dcfb8be576415d35fb498faccd Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 29 Apr 2021 09:06:53 -0800 Subject: [PATCH] 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. --- code/worker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index 609e6768..85081586 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -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