1
0
mirror of https://github.com/flant/ovpn-admin.git synced 2024-12-12 08:44:07 +02:00
ovpn-admin/Dockerfile.openvpn

8 lines
420 B
Docker
Raw Normal View History

FROM alpine:3.13
RUN apk add --update bash openvpn easy-rsa && \
2020-10-29 12:50:19 +02:00
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.3-rc.1/openvpn-user-linux-amd64.tar.gz -O - | tar xz -C /usr/local/bin && \
2020-10-29 12:50:19 +02:00
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
COPY setup/ /etc/openvpn/setup
2020-10-29 12:50:19 +02:00
RUN chmod +x /etc/openvpn/setup/configure.sh