Fix curl usage for knockd install (#2027)

This commit is contained in:
Geoff Bourne
2023-03-21 20:12:21 -05:00
committed by GitHub
parent e7084c233e
commit f1aad07804
3 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
set -o pipefail
apk add --no-cache -U \
openssl \
@@ -27,6 +28,6 @@ apk add --no-cache -U \
libpcap
# Patched knockd
curl -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-alpine-amd64.tar.gz
curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-alpine-amd64.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