diff --git a/Dockerfile b/Dockerfile index 62a2fd1..d7c5a3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM golang:1.17 as build RUN git clone https://github.com/coredns/coredns.git /coredns -COPY plugin.cfg /coredns/plugin.cfg +COPY plugin.cfg /coredns/plugin.cfg.new +RUN mv /coredns/plugin.cfg.new /coredns/plugin.cfg RUN cd /coredns && make