docker-vpn/Dockerfile

10 lines
388 B
Text
Raw Normal View History

2021-08-07 18:24:20 +02:00
FROM alpine:latest
2021-08-07 20:09:36 +02:00
RUN apk add bash openvpn openresolv aria2
2021-08-07 18:24:20 +02:00
ADD https://raw.githubusercontent.com/alfredopalhares/openvpn-update-resolv-conf/master/update-resolv-conf.sh \
/etc/openvpn/update-resolv-conf
COPY start-openvpn.sh /usr/local/bin/start-openvpn.sh
RUN chmod +x /etc/openvpn/update-resolv-conf
RUN chmod +x /usr/local/bin/start-openvpn.sh
ENTRYPOINT [ "start-openvpn.sh" ]