mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-24 09:24:54 +00:00
Use gcompat to ensure mc-image-helper runs on aarch64+alpine (#4176)
This commit is contained in:
@@ -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)'"
|
||||
|
||||
Reference in New Issue
Block a user