1
0
Fork 0
mirror of synced 2024-12-22 06:01:08 -05:00
ovpn-admin/Dockerfile.openvpn

8 lines
365 B
Docker
Raw Normal View History

2020-10-29 06:50:19 -04:00
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