Dockerfile: Switch to leaner Debian image

* Debian testing/Jessie is approximately 30% smaller the Ubuntu, use
  that instead.
This commit is contained in:
Kyle Manna 2014-06-04 11:42:37 -07:00
parent 939cf7ab67
commit 1751d00fc9

View File

@ -1,10 +1,11 @@
# Original credit: https://github.com/jpetazzo/dockvpn # Original credit: https://github.com/jpetazzo/dockvpn
FROM ubuntu:14.04 # Leaner build then Ubunutu
FROM debian:jessie
MAINTAINER Kyle Manna <kyle@kylemanna.com> MAINTAINER Kyle Manna <kyle@kylemanna.com>
RUN apt-get install -y openvpn iptables git-core RUN apt-get update && apt-get install -y openvpn iptables git-core
# Update checkout to use tags when v3.0 is finally released # Update checkout to use tags when v3.0 is finally released
RUN git clone https://github.com/OpenVPN/easy-rsa.git /usr/local/share/easy-rsa RUN git clone https://github.com/OpenVPN/easy-rsa.git /usr/local/share/easy-rsa