+2
-2
cmd/sonar/Dockerfile
+2
-2
cmd/sonar/Dockerfile
···
21
21
FROM scratch
22
22
23
23
# Import the SSL certificates from the first stage.
24
-
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
24
+
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
25
25
26
26
# Copy the binary from the first stage.
27
-
COPY --from=builder /sonar /sonar
27
+
COPY --from=build-env /sonar /sonar
28
28
29
29
# Set the startup command to run the binary
30
30
CMD ["/sonar"]