mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
copy the ca-certificate.crt into scratch container
This commit is contained in:
@ -29,6 +29,8 @@ RUN cp /build/main .
|
|||||||
# Build a small image
|
# Build a small image
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
|
# copy the ca-certificate.crt from the builder stage
|
||||||
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
COPY --from=builder /dist/main /
|
COPY --from=builder /dist/main /
|
||||||
|
|
||||||
ENTRYPOINT ["/main"]
|
ENTRYPOINT ["/main"]
|
Reference in New Issue
Block a user