Image now based on Ubuntu 14.04.3, and ignore docker build cache with random postfix

This commit is contained in:
Mengdi Gao 2015-10-28 00:40:14 +08:00
parent f20d128404
commit 52b434d090

View file

@ -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 RUN rm /etc/ipsec.secrets
ADD ./etc/* /etc/ ADD ./etc/* /etc/