adds ca-certificates

This commit is contained in:
Seraphim Strub 2023-01-26 22:16:45 +01:00
parent 29550290d2
commit 9ccf6d9ca6

View file

@ -13,7 +13,7 @@ RUN go build -ldflags "-s -w -extldflags '-static'" -o /main ./cmd/${GO_CMD}/
FROM scratch
COPY --chown=65534:0 --from=builder /main /
ADD /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
USER 65534
WORKDIR /