This repository has been archived on 2020-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-16 10:46:23 +02:00
|
|
|
FROM golang:1.11-stretch
|
2018-02-12 16:34:16 +01:00
|
|
|
|
|
|
|
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
|