1
0
forked from HPC/HPCplaybooks

Added a node_exporter role initially built for...

peregrine.
This commit is contained in:
Egon Rijpkema
2018-02-12 16:34:16 +01:00
parent e6cb2834c0
commit 2ec22760af
8 changed files with 119 additions and 0 deletions

22
promtools/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM golang:1.9-stretch
MAINTAINER Egon Rijpkema <e.m.a.rijpkema@rug.nl>
RUN mkdir /results
RUN go get github.com/prometheus/node_exporter && \
cd ${GOPATH-$HOME/go}/src/github.com/prometheus/node_exporter && \
make && \
cp node_exporter /results
RUN go get github.com/robustperception/pushprox/proxy && \
cd ${GOPATH-$HOME/go}/src/github.com/robustperception/pushprox/proxy && \
go build && \
cp /go/bin/proxy /results
RUN go get github.com/robustperception/pushprox/client && \
cd ${GOPATH-$HOME/go}/src/github.com/robustperception/pushprox/client && \
go build && \
cp /go/bin/client /results
CMD /go/bin/proxy