Skip to content

Commit

Permalink
fix webhook image
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Jansen <[email protected]>
  • Loading branch information
farodin91 committed Sep 25, 2023
1 parent c7569f4 commit 4e4c8f3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM golang:1.20-buster as builder

COPY . /code/external-dns-coredns-plugin
WORKDIR /code/external-dns-coredns-plugin
COPY . /code/external-dns-coredns-webhook
WORKDIR /code/external-dns-coredns-webhook
RUN CGO_ENABLED=0 go build

FROM debian:buster-slim

COPY --from=builder /code/external-dns-coredns-plugin/external-dns-coredns-plugin /usr/bin/external-dns-coredns-plugin
COPY --from=builder /code/external-dns-coredns-webhook/external-dns-coredns-webhook /usr/bin/external-dns-coredns-webhook

# replace with your desire device count
CMD ["external-dns-coredns-plugin"]
CMD ["external-dns-coredns-webhook"]

LABEL org.opencontainers.image.title="ExternalDNS CoreDNS plugin Docker Image" \
org.opencontainers.image.description="external-dns-coredns-plugin" \
org.opencontainers.image.url="https://github.com/GDATASoftwareAG/external-dns-coredns-plugin" \
org.opencontainers.image.source="https://github.com/GDATASoftwareAG/external-dns-coredns-plugin" \
LABEL org.opencontainers.image.title="ExternalDNS CoreDNS webhook Docker Image" \
org.opencontainers.image.description="external-dns-coredns-webhook" \
org.opencontainers.image.url="https://github.com/GDATASoftwareAG/external-dns-coredns-webhook" \
org.opencontainers.image.source="https://github.com/GDATASoftwareAG/external-dns-coredns-webhook" \
org.opencontainers.image.license="MIT"

0 comments on commit 4e4c8f3

Please sign in to comment.