From 6e8a51b287aa5b61e94cc44e1912fd1144fe1c55 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 3 Apr 2022 22:43:07 +0200 Subject: [PATCH] different way to insert plugin.cfg --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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