···21FROM scratch
2223# Import the SSL certificates from the first stage.
24-COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2526# Copy the binary from the first stage.
27-COPY --from=builder /sonar /sonar
2829# Set the startup command to run the binary
30CMD ["/sonar"]
···21FROM scratch
2223# Import the SSL certificates from the first stage.
24+COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2526# Copy the binary from the first stage.
27+COPY --from=build-env /sonar /sonar
2829# Set the startup command to run the binary
30CMD ["/sonar"]