openvpn.sh: Add wrapper script

* Add the beginning of a wrapper script that will handle cert generation
  and OpenVPN invocation.
This commit is contained in:
Kyle Manna
2014-06-03 20:54:47 -07:00
parent 47bc4e4865
commit 023cfe6596
2 changed files with 31 additions and 1 deletions

View File

@ -5,7 +5,12 @@ FROM ubuntu:14.04
MAINTAINER Kyle Manna <kyle@kylemanna.com>
RUN apt-get install -y openvpn iptables curl
ADD ./bin /usr/local/sbin
RUN chmod a+x /usr/local/sbin/*
VOLUME /etc/openvpn
EXPOSE 443/tcp 1194/udp 8080/tcp
CMD run
ENTRYPOINT ["openvpn.sh"]