mirror of
https://github.com/flant/ovpn-admin.git
synced 2024-11-30 08:16:46 +02:00
8 lines
415 B
Docker
8 lines
415 B
Docker
FROM alpine:3.14
|
|
RUN apk add --update bash openvpn easy-rsa && \
|
|
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
|
|
wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.3/openvpn-user-linux-amd64.tar.gz -O - | tar xz -C /usr/local/bin && \
|
|
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
|
COPY setup/ /etc/openvpn/setup
|
|
RUN chmod +x /etc/openvpn/setup/configure.sh
|