adds ca-certificates fix?

This commit is contained in:
Seraphim Strub 2023-01-26 22:18:37 +01:00
parent 9ccf6d9ca6
commit f628900110

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/
COPY --chown=65534:0 --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
USER 65534
WORKDIR /