From 6569e95e7afb5b53abd9cb8337dfea6eab9e202f Mon Sep 17 00:00:00 2001 From: cycneuramus <56681631+cycneuramus@users.noreply.github.com> Date: Wed, 13 Mar 2024 14:31:48 +0100 Subject: [PATCH] Fix certificates for scratch Docker image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index a9c8a30..9a80e52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,6 @@ RUN go build -buildvcs=false -ldflags="-w -s" -o ./cloudflare-dns-failover FROM scratch COPY --from=builder /build/cloudflare-dns-failover /bin/cloudflare-dns-failover +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/bin/cloudflare-dns-failover"]