Skip to content

Commit

Permalink
Merge pull request #168 from deepmind/promtool
Browse files Browse the repository at this point in the history
Added promtool to CI image
  • Loading branch information
adrianchifor committed Nov 27, 2018
2 parents e18b1f3 + 14657d3 commit d3e7e25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM sparkprime/jsonnet AS jsonnet

FROM golang:1.11 AS promtool

RUN go get -u github.com/prometheus/prometheus/cmd/promtool

FROM google/cloud-sdk:alpine

RUN apk add --no-cache python3-dev git g++ make libstdc++ gnupg musl-dev util-linux openssl openssl-dev libffi-dev coreutils yaml-dev jq ncurses && \
Expand All @@ -21,3 +25,4 @@ RUN pip3 install --upgrade --no-cache-dir git+https://github.com/deepmind/kapita
RUN gcloud components install kubectl

COPY --from=jsonnet /usr/local/bin/jsonnet /usr/local/bin/
COPY --from=promtool /go/bin/promtool /usr/local/bin/

0 comments on commit d3e7e25

Please sign in to comment.