Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
797 B

FROM golang:latest
MAINTAINER Egon Rijpkema <e.m.a.rijpkema@rug.nl>
RUN mkdir /results
RUN go install github.com/prometheus/node_exporter@latest && \
cp /go/bin/node_exporter /results
RUN cd / && \
git clone https://github.com/prometheus-community/pushprox.git && \
cd pushprox && \
make build && \
bash -c "cp pushprox-{client,proxy} /results"
#RUN go install github.com/HewlettPackard/lustre_exporter@latest && \
# cp /go/bin/lustre_exporter /results
# Broken in newer golang
RUN go install github.com/vpenso/prometheus-slurm-exporter@latest && \
cp /go/bin/prometheus-slurm-exporter /results
RUN go install git.webhosting.rug.nl/HPC/nvidia_smi_exporter.git@latest && \
cp /go/bin/nvidia_smi_exporter.git /results/nvidia_smi_exporter
CMD /go/bin/proxy