Dockerfile: use iptables-legacy and symlink to iptables (#687)

This commit is contained in:
Philip H
2023-12-21 19:09:33 +01:00
committed by GitHub

View File

@@ -35,9 +35,11 @@ RUN npm i -g nodemon
# Install Linux packages # Install Linux packages
RUN apk add -U --no-cache \ RUN apk add -U --no-cache \
iptables \ iptables-legacy \
wireguard-tools \ wireguard-tools \
dumb-init dumb-init &&\
rm /sbin/iptables &&\
ln -s /sbin/iptables-legacy /sbin/iptables
# Expose Ports # Expose Ports
EXPOSE 51820/udp EXPOSE 51820/udp