alpine-chroot-install
alpine-chroot-install copied to clipboard
Enable arm64 support
Hello, I am trying to run alpine-chroot-install on an arm64 machine. The script downloads and uses an x86_64 binary of apk. https://github.com/alpinelinux/alpine-chroot-install/blob/master/alpine-chroot-install#L81
Would it be possible to:
- Release an arm64 version of apk (and maybe an armeabi version aswell ?)
- Modify script to download the right version of apk depending on the arch of the machine
Regards
It seems like it's possible by using environment variables and the arch argument:
APK_TOOLS_URI="https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.12.9/aarch64/apk.static" \
APK_TOOLS_SHA256="0164d47954c8a52e8ed10db1633174974a3b1e4182a1993a5a8343e394ee1bbc" \
alpine-chroot-install \
-a aarch64 \
-d ...