container-openvpn/Dockerfile
Kyle Manna 023cfe6596 openvpn.sh: Add wrapper script
* Add the beginning of a wrapper script that will handle cert generation
  and OpenVPN invocation.
2014-06-03 20:58:13 -07:00

17 lines
305 B
Docker

# Original credit: https://github.com/jpetazzo/dockvpn
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
ENTRYPOINT ["openvpn.sh"]