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

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-07-17 07:54:30 -05:00
1 parent 17d7f01267
commit 537a3e43fe
4 files changed
+8 -15

No files matched your search

+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)'"