From 52b434d090810c7431bca95417f04cae9289f7de Mon Sep 17 00:00:00 2001 From: Mengdi Gao Date: Wed, 28 Oct 2015 00:40:14 +0800 Subject: [PATCH] Image now based on Ubuntu 14.04.3, and ignore docker build cache with random postfix --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6eda25..16577fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ -FROM ubuntu:14.04 +FROM ubuntu:14.04.3 + +RUN apt-get update \ + && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \ + && DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime \ + && rm -rf /var/lib/apt/lists/* # cache busted 20151028.1 -RUN apt-get update -RUN apt-get -y install strongswan iptables uuid-runtime RUN rm /etc/ipsec.secrets ADD ./etc/* /etc/