Skip to content

Commit

Permalink
修复 alpine:3.19 下 iptables 不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdgyc committed Feb 20, 2024
1 parent 29a3e4b commit 0e6e4e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docker/init_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.1
0.11.2

0 comments on commit 0e6e4e5

Please sign in to comment.