Skip to content

Commit 820cf68

Browse files
committed
Add ipset package
1 parent dd037c2 commit 820cf68

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN \
1717
echo "**** install dependencies ****" && \
1818
apk add --no-cache \
1919
bc \
20+
ipset \
2021
coredns \
2122
grep \
2223
iproute2 \
@@ -29,7 +30,7 @@ RUN \
2930
net-tools \
3031
nftables \
3132
openresolv \
32-
wireguard-tools==${WIREGUARD_RELEASE} && \
33+
wireguard-tools==${WIREGUARD_RELEASE} && \
3334
echo "wireguard" >> /etc/modules && \
3435
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' /usr/bin/wg-quick && \
3536
rm -rf /etc/wireguard && \

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN \
1717
echo "**** install dependencies ****" && \
1818
apk add --no-cache \
1919
bc \
20+
ipset \
2021
coredns \
2122
grep \
2223
iproute2 \
@@ -29,7 +30,7 @@ RUN \
2930
net-tools \
3031
nftables \
3132
openresolv \
32-
wireguard-tools==${WIREGUARD_RELEASE} && \
33+
wireguard-tools==${WIREGUARD_RELEASE} && \
3334
echo "wireguard" >> /etc/modules && \
3435
sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' /usr/bin/wg-quick && \
3536
rm -rf /etc/wireguard && \

0 commit comments

Comments
 (0)