docker-minecraft-server/build/ol/install-gosu.sh

13 lines
371 B
Bash
Raw Normal View History

2022-07-16 15:11:11 +00:00
#!/bin/bash
if [[ $(uname -m) == "aarch64" ]]; then
2023-09-08 12:38:14 +00:00
curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.16/gosu-arm64
chmod +x /bin/gosu
elif [[ $(uname -m) == "x86_64" ]]; then
2023-09-08 12:38:14 +00:00
curl -sL -o /bin/gosu https://github.com/tianon/gosu/releases/download/1.16/gosu-amd64
chmod +x /bin/gosu
else
echo "Not supported!"
exit 1
fi