1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
ovpn-admin/Dockerfile.openvpn
2020-10-29 13:50:19 +03:00

7 lines
365 B
Docker

FROM alpine:3.11
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \
apk add --update bash openvpn easy-rsa && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
COPY .werffiles /etc/openvpn/setup
RUN chmod +x /etc/openvpn/setup/configure.sh