mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
13 lines
371 B
Bash
Executable File
13 lines
371 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $(uname -m) == "aarch64" ]]; then
|
|
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
|