Delete original secret

This commit is contained in:
dave 2017-07-20 15:43:58 -07:00
parent 9067c90e29
commit 0ce2dbde09
1 changed files with 9 additions and 8 deletions

View File

@ -2,14 +2,15 @@ FROM ubuntu:trusty
ADD start /start
RUN chmod +x /start ;\
locale-gen en_US en_US.UTF-8 ;\
apt-get update ;\
apt-get install -y apt-transport-https curl ;\
curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add - ;\
echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list ;\
apt-get update ;\
DEBIAN_FRONTEND=noninteractive apt-get install -y varnish
RUN chmod +x /start && \
locale-gen en_US en_US.UTF-8 && \
apt-get update && \
apt-get install -y apt-transport-https curl && \
curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add - && \
echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.0" >> /etc/apt/sources.list.d/varnish-cache.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y varnish && \
rm /etc/varnish/secret
WORKDIR /etc/varnish