Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added promtool to CI image #168

Merged
merged 1 commit into from
Nov 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/