From c114831f4ee621f14e7cea29fbdaa97b381533ba Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Wed, 12 Feb 2014 18:37:45 +0100 Subject: [PATCH] Remove make call from Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 48fc2bcd..a6fa30a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM ubuntu:13.10 MAINTAINER Prometheus Team -ENV COLLECTORS NativeCollector RUN apt-get update && apt-get install -yq curl git mercurial make RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -C /usr/local -xzf - ENV PATH /usr/local/go/bin:$PATH ENV GOPATH /go ADD . /usr/src/node_exporter -RUN cd /usr/src/node_exporter && make && cp node_exporter / +RUN cd /usr/src/node_exporter && \ + go get -d && go build && cp node_exporter / RUN printf '{ "scrapeInterval": 10, "attributes": {} }' > \ node_exporter.conf