mirror of https://github.com/bjdgyc/anylink.git
修复 alpine:3.19 下 iptables 不生效的问题
This commit is contained in:
parent
29a3e4bfb3
commit
0e6e4e501c
|
@ -8,7 +8,11 @@ if [[ $CN == "yes" ]]; then
|
||||||
export GOPROXY=https://goproxy.cn
|
export GOPROXY=https://goproxy.cn
|
||||||
fi
|
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
|
chmod +x /app/docker_entrypoint.sh
|
||||||
mkdir /app/log
|
mkdir /app/log
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue