We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1228577 commit 7264076Copy full SHA for 7264076
Dockerfile
@@ -1,7 +1,7 @@
1
# Original credit: https://github.com/jpetazzo/dockvpn
2
3
# Smallest base image
4
-FROM alpine:latest
+FROM alpine:3.7
5
6
LABEL maintainer="Kyle Manna <[email protected]>"
7
@@ -22,10 +22,16 @@ VOLUME ["/etc/openvpn"]
22
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
23
EXPOSE 1194/udp
24
25
-CMD ["ovpn_run"]
26
-
27
ADD ./bin /usr/local/bin
28
RUN chmod a+x /usr/local/bin/*
29
+# Ngrok tunneling
+RUN apk --no-cache add curl
30
+RUN apk --no-cache add jq
31
+COPY start.sh /
32
+
33
# Add support for OTP authentication using a PAM module
34
ADD ./otp/openvpn /etc/pam.d/
35
36
+#START
37
+CMD ["/start.sh"]
0 commit comments