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