From 69639965eab1c030ff68a0473c94b627e5027353 Mon Sep 17 00:00:00 2001 From: Nikita Melnikov Date: Mon, 25 Sep 2023 17:07:11 +0200 Subject: [PATCH] add certs to docker image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fdbaef8..ffb5fe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,5 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags="-w -s FROM --platform=${TARGETPLATFORM:-linux/amd64} scratch WORKDIR /app/ COPY --from=builder /app/flux-webhook-authreconciler /app/flux-webhook-authreconciler +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/app/flux-webhook-authreconciler"] \ No newline at end of file