commit 7c0fbd7
chld
·
2025-12-20 17:38:13 +0000 UTC
parent 7e128ba
setup-apk
1 files changed,
+2,
-1
+2,
-1
1@@ -2,12 +2,13 @@
2 . util/lib.sh
3
4 set -x
5+
6+# now actually bootstrapping apk stage
7 # from https://wiki.alpinelinux.org/wiki/Bootstrapping_Alpine_Linux
8
9 wget \
10 https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.6/x86_64/apk.static \
11 -O /mnt/bin/apk # static apk ez
12
13-
14 /mnt/bin/apk --arch $(arch) -X https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -U --allow-untrusted --root /mnt/ --initdb update
15 /mnt/bin/apk --root /mnt add alpine-keys