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.