coredns: pin to 1.6.9
continuous-integration/drone/push Build is failing Details

master
eater 4 years ago
parent 07f9919628
commit 1598110dae
Signed by: eater
GPG Key ID: AD2560A0F84F0759

@ -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

Loading…
Cancel
Save