Skip to content

Commit

Permalink
Merge pull request #29 from lisenet/fix-remove-iptables-error
Browse files Browse the repository at this point in the history
Either remove /sbin/iptables or proceed without failing
  • Loading branch information
lisenet authored Dec 4, 2024
2 parents 547a429 + 48d25c7 commit 9c49c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk add --update openvpn iptables iptables-legacy bash easy-rsa openvpn-auth
apk update && apk upgrade && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
rm /sbin/iptables && \
(rm /sbin/iptables || true) && \
ln -s /sbin/iptables-legacy /sbin/iptables

# Needed by scripts
Expand Down

0 comments on commit 9c49c24

Please sign in to comment.