Use gcompat to ensure mc-image-helper runs on aarch64+alpine (#4176)

This commit is contained in:
Geoff Bourne
2026-07-17 07:54:30 -05:00
committed by GitHub
parent 17d7f01267
commit 537a3e43fe
4 changed files with 8 additions and 15 deletions
+4
View File
@@ -33,6 +33,10 @@ if (( $(mc-image-helper java-release) >= 17 )); then
export MC_IMAGE_HELPER_OPTS
fi
if [[ $(getDistro) == alpine ]]; then
export LD_PRELOAD=/lib/libgcompat.so.0
fi
export HOME=/data
log "Running as uid=$(id -u) gid=$(id -g) with /data as '$(ls -lnd /data)'"