From e039bbc322fd28bee2ebe7f174ea85e81b47f982 Mon Sep 17 00:00:00 2001 From: Athir Nuaimi Date: Sat, 17 Jun 2017 21:16:29 -0400 Subject: [PATCH] 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 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b76adcc63..082604d2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM alpine:latest MAINTAINER Miek Gieben @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