docker-vpn/Dockerfile
2021-08-07 20:36:47 +02:00

9 lines
390 B
Docker

FROM alpine:latest
RUN apk add bash openvpn openresolv aria2
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 \
&& chmod +x /usr/local/bin/start-openvpn.sh
ENTRYPOINT [ "start-openvpn.sh" ]