fix: remove apk add iptables-nft — built-in on Alpine 3.18+ #27
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/vpn-iptables-nft-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The first merged PR (#26) added
RUN apk add --no-cache iptables-nftbut on Alpine 3.22 (used byghcr.io/wg-easy/wg-easy:latest),iptables-nftis not a separate package — theiptablespackage is the nftables variant.Build failed with:
Fix
Remove the
apk addline — just flipupdate-alternativesfromiptables-legacytoiptables-nft. The binary is already in the base image.