From 2719f1c65c7f09d2b8abc6c359bc9cdf90605cc9 Mon Sep 17 00:00:00 2001 From: Peter Bueschel Date: Wed, 21 Dec 2022 17:57:34 +0100 Subject: [PATCH] fix(docker-image): add ca-certificates to container image to solve issue with 'x509: certificate signed by unknown authority' (#36) Co-authored-by: Peter Bueschel --- build/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Dockerfile b/build/Dockerfile index 589d827..6f9e085 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -21,6 +21,7 @@ FROM scratch EXPOSE 9090 +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /go/github.com/thought-machine/aws-service-quotas-exporter/aws-service-quotas-exporter /home/app/aws-service-quotas-exporter COPY --from=0 /etc/passwd /etc/passwd