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
|
2021-08-07 20:36:47 +02:00
|
|
|
RUN chmod +x /etc/openvpn/update-resolv-conf \
|
|
|
|
&& chmod +x /usr/local/bin/start-openvpn.sh
|
2021-08-07 18:24:20 +02:00
|
|
|
ENTRYPOINT [ "start-openvpn.sh" ]
|