From 95038b7d5e9329b790a4e5617f2cef5ee8e2abbe Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Thu, 21 Dec 2023 18:57:58 +0100 Subject: [PATCH] Dockerfile: use iptables-legacy and symlink to iptables --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e00866f2..60657e64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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