Browse Source
Dockerfile: use iptables-legacy and symlink to iptables (#687)
pull/688/head
Philip H
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
Dockerfile
|
@ -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 |
|
|