From 024794393eb032a3b9f03c7a95f60014f2fd3a1a Mon Sep 17 00:00:00 2001 From: Donavan Fritz Date: Fri, 9 Feb 2024 23:19:51 -0800 Subject: [PATCH] use /dns/ since / is messy --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72a18aa..abc2a03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,6 @@ RUN CGO_ENABLED=1 make FROM ubuntu:latest -COPY --from=builder /tmp/coredns/coredns/coredns / +COPY --from=builder /tmp/coredns/coredns/coredns /dns/ RUN apt-get update && apt-get install -y libunbound-dev && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["./coredns"] diff --git a/README.md b/README.md index b840a6d..198df78 100644 --- a/README.md +++ b/README.md @@ -13,5 +13,5 @@ The `plugin.cfg` file is used to add/remove plugins from the standard CoreDNS bu For example, `unbound` and `synthetic` are non-standard plugins that are added. The resulting `coredns` binary is located at `/`. -Thus, simply adding a `Corefile` to `/` is all that's needed when extending this image. +Thus, simply adding a `Corefile` to `/dns/` is all that's needed when extending this image.