Use apk's no-cache flag in Dockerfile (#1591)

This commit is contained in:
nogoegst
2018-03-06 14:29:11 +03:00
committed by Miek Gieben
parent 369bde5adc
commit 44e9d734f6

View File

@@ -2,7 +2,7 @@ FROM alpine:latest
MAINTAINER Miek Gieben <miek@miek.nl> @miekg MAINTAINER Miek Gieben <miek@miek.nl> @miekg
# only need ca-certificates & openssl if want to use https_google # only need ca-certificates & openssl if want to use https_google
RUN apk --update add bind-tools ca-certificates openssl && update-ca-certificates && rm -rf /var/cache/apk/* RUN apk --no-cache add bind-tools ca-certificates openssl && update-ca-certificates
ADD coredns /coredns ADD coredns /coredns