Skip to content

Commit

Permalink
Merge pull request #2456 from mrueg/dockerfile
Browse files Browse the repository at this point in the history
fix(Dockerfile): Install tools so VERSION gets set
  • Loading branch information
k8s-ci-robot authored Jul 27, 2024
2 parents e96dfc0 + 0dd960e commit d1e7179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down

0 comments on commit d1e7179

Please sign in to comment.