diff --git a/cmd/collector/Dockerfile b/cmd/collector/Dockerfile index 303e89e98bb..bef68a2a172 100644 --- a/cmd/collector/Dockerfile +++ b/cmd/collector/Dockerfile @@ -1,5 +1,10 @@ +FROM alpine:latest as certs +RUN apk add --update --no-cache ca-certificates + FROM scratch +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt + EXPOSE 14267 COPY collector-linux /go/bin/ CMD ["/go/bin/collector-linux"] diff --git a/cmd/query/Dockerfile b/cmd/query/Dockerfile index 3d84cbed59e..1d67c265d3d 100644 --- a/cmd/query/Dockerfile +++ b/cmd/query/Dockerfile @@ -1,5 +1,10 @@ +FROM alpine:latest as certs +RUN apk add --update --no-cache ca-certificates + FROM scratch +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt + EXPOSE 16686 COPY query-linux /go/bin/ ADD jaeger-ui-build /go/jaeger-ui/