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

9 lines
388 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
RUN chmod +x /usr/local/bin/start-openvpn.sh
ENTRYPOINT [ "start-openvpn.sh" ]