Skip to content

Commit 7264076

Browse files
authored
Add ngrok support
1 parent 1228577 commit 7264076

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Original credit: https://github.com/jpetazzo/dockvpn
22

33
# Smallest base image
4-
FROM alpine:latest
4+
FROM alpine:3.7
55

66
LABEL maintainer="Kyle Manna <[email protected]>"
77

@@ -22,10 +22,16 @@ VOLUME ["/etc/openvpn"]
2222
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
2323
EXPOSE 1194/udp
2424

25-
CMD ["ovpn_run"]
26-
2725
ADD ./bin /usr/local/bin
2826
RUN chmod a+x /usr/local/bin/*
2927

28+
# Ngrok tunneling
29+
RUN apk --no-cache add curl
30+
RUN apk --no-cache add jq
31+
COPY start.sh /
32+
3033
# Add support for OTP authentication using a PAM module
3134
ADD ./otp/openvpn /etc/pam.d/
35+
36+
#START
37+
CMD ["/start.sh"]

0 commit comments

Comments
 (0)