removing pre-installed ipsec.secrets file during build. will be created on first run

This commit is contained in:
Andrew Davidson 2019-06-04 18:19:21 -04:00
parent 404ac49a50
commit 0446e53e4d
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6

View file

@ -1,7 +1,8 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
RUN apt-get update \ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime ndppd openssl && DEBIAN_FRONTEND=noninteractive apt-get -y install strongswan iptables uuid-runtime ndppd openssl \
&& rm /etc/ipsec.secrets
ADD ./etc/* /etc/ ADD ./etc/* /etc/
ADD ./bin/* /usr/bin/ ADD ./bin/* /usr/bin/