Dockerfile: Switch to leaner Debian image
* Debian testing/Jessie is approximately 30% smaller the Ubuntu, use that instead.
This commit is contained in:
parent
939cf7ab67
commit
1751d00fc9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user