use /dns/ since / is messy
All checks were successful
Base DNS Docker Image CI/CD Build / build-docker-image (push) Successful in 1m4s

This commit is contained in:
Donavan Fritz 2024-02-09 23:19:51 -08:00
parent 6ee069715a
commit 024794393e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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