diff --git a/Dockerfile b/Dockerfile index d8899a7ae3..c6b5e6ef65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV GOARCH=${GOARCH} WORKDIR /go/src/k8s.io/kube-state-metrics/ COPY . /go/src/k8s.io/kube-state-metrics/ -RUN make build-local +RUN make install-tools && make build-local FROM gcr.io/distroless/static:latest-${GOARCH} COPY --from=builder /go/src/k8s.io/kube-state-metrics/kube-state-metrics /