修复 alpine:3.19 下 iptables 不生效的问题

This commit is contained in:
bjdgyc 2024-02-20 18:05:23 +08:00
parent 29a3e4bfb3
commit 0e6e4e501c
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,11 @@ if [[ $CN == "yes" ]]; then
export GOPROXY=https://goproxy.cn
fi
apk add --no-cache bash iptables iproute2 tzdata
#兼容老版 iptables
apk add --no-cache iptables iptables-legacy
rm /sbin/iptables && ln -s /sbin/iptables-legacy /sbin/iptables
apk add --no-cache ca-certificates bash iproute2 tzdata
chmod +x /app/docker_entrypoint.sh
mkdir /app/log

View File

@ -1 +1 @@
0.11.1
0.11.2