diff --git a/Dockerfile b/Dockerfile index af857d1..78f861e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,6 @@ COPY [".", "/build"] RUN cd /build && CGO_ENABLED=0 go build -ldflags="-s -w" ./cmd/alertmanager_matrix FROM scratch +COPY --from=build ["/etc/ssl/cert.pem", "/etc/ssl/certs/ca-certificates.crt"] COPY --from=build ["/build/alertmanager_matrix", "/usr/local/bin/"] ENTRYPOINT ["/usr/local/bin/alertmanager_matrix"]