2014-06-04 03:35:44 +00:00
|
|
|
# Original credit: https://github.com/jpetazzo/dockvpn
|
|
|
|
|
2014-06-04 03:31:53 +00:00
|
|
|
FROM ubuntu:14.04
|
2014-06-04 03:35:44 +00:00
|
|
|
|
|
|
|
MAINTAINER Kyle Manna <kyle@kylemanna.com>
|
|
|
|
|
|
|
|
RUN apt-get install -y openvpn iptables curl
|
2014-06-04 03:54:47 +00:00
|
|
|
|
2013-09-02 23:46:19 +00:00
|
|
|
ADD ./bin /usr/local/sbin
|
2014-06-04 03:54:47 +00:00
|
|
|
RUN chmod a+x /usr/local/sbin/*
|
|
|
|
|
2013-09-02 23:46:19 +00:00
|
|
|
VOLUME /etc/openvpn
|
2014-06-04 03:54:47 +00:00
|
|
|
|
2013-09-02 23:46:19 +00:00
|
|
|
EXPOSE 443/tcp 1194/udp 8080/tcp
|
2014-06-04 03:54:47 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["openvpn.sh"]
|