mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-23 11:08:55 +00:00
Use gcompat to ensure mc-image-helper runs on aarch64+alpine (#4176)
This commit is contained in:
1 parent
17d7f01267
commit
537a3e43fe
4 files changed
+8
-15
No files matched your search
@@ -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