Skip to content

Commit 9fad133

Browse files
authored
Suggest to bump alpine release to latest known today: 3.21.0. (#114)
(which need to add zstd-static apk.)
1 parent 81de3e1 commit 9fad133

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/chroot/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ find /scripts
1212
apk update
1313
apk add alpine-sdk util-linux strace file autoconf automake libtool xz bash \
1414
eudev-dev gettext-dev linux-headers meson \
15-
zstd-dev zlib-dev zlib-static clang
15+
zstd-dev zstd-static zlib-dev zlib-static clang
1616

1717
/scripts/common/install-dependencies.sh
1818
/scripts/build-runtime.sh

scripts/chroot/chroot_build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ cd "$tempdir"
3535
# Download and extract minimal Alpine system
3636
#############################################
3737

38-
wget "http://dl-cdn.alpinelinux.org/alpine/v3.17/releases/${ALPINE_ARCH}/alpine-minirootfs-3.17.2-${ALPINE_ARCH}.tar.gz"
38+
ALPINE_RELEASE="3.21.0"
39+
wget "http://dl-cdn.alpinelinux.org/alpine/v${ALPINE_RELEASE%.*}/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_RELEASE}-${ALPINE_ARCH}.tar.gz"
40+
wget "http://dl-cdn.alpinelinux.org/alpine/v${ALPINE_RELEASE%.*}/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_RELEASE}-${ALPINE_ARCH}.tar.gz.sha256"
41+
sha256sum -c alpine-minirootfs-${ALPINE_RELEASE}-${ALPINE_ARCH}.tar.gz.sha256
42+
3943
mkdir -p ./miniroot
4044
cd ./miniroot
4145
sudo tar xf ../alpine-minirootfs-*-"${ALPINE_ARCH}".tar.gz
@@ -94,4 +98,4 @@ esac
9498
cd "$repo_root_dir"
9599
mkdir -p ./out/
96100
cp "${tempdir}/miniroot/out/runtime-${appimage_arch}" out/
97-
cp "${tempdir}/miniroot/out/runtime-${appimage_arch}.debug" out/
101+
cp "${tempdir}/miniroot/out/runtime-${appimage_arch}.debug" out/

0 commit comments

Comments
 (0)