mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Fix GraalVM images error on AArch64 systems (#1609)
This commit is contained in:
parent
16a958d129
commit
df203d4b4b
@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[[ $(uname -m) == "aarch64" ]] && curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-arm64 && chmod +x /bin/gosu
|
if [[ $(uname -m) == "aarch64" ]]; then
|
||||||
[[ $(uname -m) == "x86_64" ]] && curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64 && chmod +x /bin/gosu
|
curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-arm64
|
||||||
|
chmod +x /bin/gosu
|
||||||
|
elif [[ $(uname -m) == "x86_64" ]]; then
|
||||||
|
curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64
|
||||||
|
chmod +x /bin/gosu
|
||||||
|
else
|
||||||
|
echo "Not supported!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user