diff options
author | 2017-06-17 21:16:29 -0400 | |
---|---|---|
committer | 2017-06-17 21:16:29 -0400 | |
commit | e039bbc322fd28bee2ebe7f174ea85e81b47f982 (patch) | |
tree | 8a1147153996c1959c968ab2acbb81595005519c /Dockerfile | |
parent | 7219bff11fed3b156f642702cf6228935bb84c9d (diff) | |
download | coredns-e039bbc322fd28bee2ebe7f174ea85e81b47f982.tar.gz coredns-e039bbc322fd28bee2ebe7f174ea85e81b47f982.tar.zst coredns-e039bbc322fd28bee2ebe7f174ea85e81b47f982.zip |
update dockerfile to allow use of https_google - fixes #738 (#739)
* update dockerfile to allow use of https_google
to use TLS in a docker container (based on Alpine linux) you need to also include the CA certificate files
* cleaned up version of Dockerfile that supports https_google
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index b76adcc63..082604d2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM alpine:latest MAINTAINER Miek Gieben <miek@miek.nl> @miekg -RUN apk --update add bind-tools && rm -rf /var/cache/apk/* +# 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/* ADD coredns /coredns |