-
Local are work, but build with docker has error
|
Beta Was this translation helpful? Give feedback.
Answered by
seepine
Jan 1, 2024
Replies: 2 comments 1 reply
-
Sounds like your Docker image was built without a certificate store. Are you using an Alpine image? Those have bitten me in the past because they didn’t have root certificates. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Need cert, for alpine FROM alpine:3 as builder
RUN apk add --no-cache ca-certificates
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
seepine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need cert, for alpine
apk add ca-certificates
, for scratch