-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (13 loc) · 790 Bytes
/
Dockerfile
File metadata and controls
18 lines (13 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM golang:1.24-bookworm AS builder
COPY . /code/external-dns-coredns-webhook
WORKDIR /code/external-dns-coredns-webhook
RUN CGO_ENABLED=0 go build
FROM debian:bookworm-slim
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-webhook"]
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"