Dockerfile: use iptables-legacy and symlink to iptables
This commit is contained in:
parent
849436d6a4
commit
95038b7d5e
|
@ -35,9 +35,11 @@ RUN npm i -g nodemon
|
|||
|
||||
# Install Linux packages
|
||||
RUN apk add -U --no-cache \
|
||||
iptables \
|
||||
iptables-legacy \
|
||||
wireguard-tools \
|
||||
dumb-init
|
||||
dumb-init &&\
|
||||
rm /sbin/iptables &&\
|
||||
ln -s /sbin/iptables-legacy /sbin/iptables
|
||||
|
||||
# Expose Ports
|
||||
EXPOSE 51820/udp
|
||||
|
|
Loading…
Reference in New Issue