From 1598110dae84f172d390a958a97e78dff6ad578d Mon Sep 17 00:00:00 2001 From: eater <=@eater.me> Date: Tue, 2 Jun 2020 01:24:59 +0200 Subject: [PATCH] coredns: pin to 1.6.9 --- coredns/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coredns/Dockerfile b/coredns/Dockerfile index f5b065f..94ccc73 100644 --- a/coredns/Dockerfile +++ b/coredns/Dockerfile @@ -1,7 +1,7 @@ FROM d.xr.to/base AS builder RUN xbps-remote go unbound-devel git make gcc RUN mkdir -p /root/go/src/github.com/coredns -RUN git clone --depth=2 https://github.com/coredns/coredns.git /root/go/src/github.com/coredns/coredns +RUN git clone https://github.com/coredns/coredns.git /root/go/src/github.com/coredns/coredns && git -C /root/go/src/github.com/coredns/coredns checkout tags/v1.6.9 RUN cd /root/go/src/github.com/coredns/coredns && echo 'unbound:github.com/coredns/unbound' >> plugin.cfg && sed -i '/\(grpc\|route53\|azure\|clouddns\|k8s_external\|kubernetes\)\:/d' plugin.cfg && sed -i 's:CGO_ENABLED=\$(CGO_ENABLED)::' Makefile RUN cd /root/go/src/github.com/coredns/coredns && go generate && make