Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. FROM alpine:3.9
  2.  
  3. # Install needed packages
  4. RUN set -x && \
  5. apk add --no-cache openssl easy-rsa openvpn iptables bash && \
  6. rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
  7. \
  8. openvpn --version || exit 0
  9.  
  10. # Configure tun
  11. RUN mkdir -p /dev/net && \
  12. mknod /dev/net/tun c 10 200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement