mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-05 20:10:29 +00:00
Fix curl usage for knockd install (#2027)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
export TARGET
|
||||
|
||||
set -e
|
||||
set -euo pipefail
|
||||
|
||||
microdnf install dnf -y
|
||||
|
||||
@@ -40,6 +40,6 @@ dnf install -y ImageMagick \
|
||||
bash /build/ol/install-gosu.sh
|
||||
|
||||
# Patched knockd
|
||||
curl -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
|
||||
curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
|
||||
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
|
||||
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
|
||||
|
||||
Reference in New Issue
Block a user