Initial commit
This commit is contained in:
commit
5ba8d0df1c
3 changed files with 34 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM alpine:3
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["/usr/sbin/openvpn", "--cd", "/etc/openvpn", "--config", "fdn.ovpn"]
|
||||
|
||||
RUN apk --no-cache add openvpn
|
||||
|
||||
RUN wget -O /etc/openvpn/fdn.ovpn https://git.fdn.fr/fdn-public/wiki/-/raw/master/vpn/openvpn/client/configuration/fdn-vpn.ovpn && sed -i 's@^auth-user-pass.*$@auth-user-pass fdn-pass.txt@' /etc/openvpn/fdn.ovpn
|
||||
COPY entrypoint.sh /docker-entrypoint.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue