summaryrefslogtreecommitdiff
path: root/vpn/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/Dockerfile')
-rw-r--r--vpn/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/vpn/Dockerfile b/vpn/Dockerfile
new file mode 100644
index 0000000..86644be
--- /dev/null
+++ b/vpn/Dockerfile
@@ -0,0 +1,7 @@
+FROM alpine:3.21
+RUN apk add --no-cache strongswan iptables iproute2 gettext
+COPY swanctl.conf.tpl /etc/swanctl/swanctl.conf.tpl
+COPY strongswan.conf /etc/strongswan.conf
+COPY entrypoint.sh /entrypoint.sh
+RUN chmod +x /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]