Dockerfile.openvpn 415 B

12345678
  1. FROM alpine:3.14
  2. RUN apk add --update bash openvpn easy-rsa && \
  3. ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
  4. 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 && \
  5. rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
  6. COPY setup/ /etc/openvpn/setup
  7. RUN chmod +x /etc/openvpn/setup/configure.sh