9 lines
388 B
Docker
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" ]
|