aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJohannes 'fish' Ziemke <github@freigeist.org>2014-02-12 18:37:45 +0100
committerJohannes 'fish' Ziemke <github@freigeist.org>2014-02-12 18:37:45 +0100
commitc114831f4ee621f14e7cea29fbdaa97b381533ba (patch)
tree34cde7b5d9370866249ea9f690c2d05d34c5a7eb /Dockerfile
parentf8c5bc9f2b806fbf444c995b62f5be76e12d98de (diff)
downloadprometheus_node_collector-c114831f4ee621f14e7cea29fbdaa97b381533ba.tar.bz2
prometheus_node_collector-c114831f4ee621f14e7cea29fbdaa97b381533ba.tar.xz
prometheus_node_collector-c114831f4ee621f14e7cea29fbdaa97b381533ba.zip
Remove make call from Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 48fc2bc..a6fa30a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,14 +1,14 @@
1FROM ubuntu:13.10 1FROM ubuntu:13.10
2MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com> 2MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com>
3 3
4ENV COLLECTORS NativeCollector
5RUN apt-get update && apt-get install -yq curl git mercurial make 4RUN apt-get update && apt-get install -yq curl git mercurial make
6RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -C /usr/local -xzf - 5RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -C /usr/local -xzf -
7ENV PATH /usr/local/go/bin:$PATH 6ENV PATH /usr/local/go/bin:$PATH
8ENV GOPATH /go 7ENV GOPATH /go
9 8
10ADD . /usr/src/node_exporter 9ADD . /usr/src/node_exporter
11RUN cd /usr/src/node_exporter && make && cp node_exporter / 10RUN cd /usr/src/node_exporter && \
11 go get -d && go build && cp node_exporter /
12RUN printf '{ "scrapeInterval": 10, "attributes": {} }' > \ 12RUN printf '{ "scrapeInterval": 10, "attributes": {} }' > \
13 node_exporter.conf 13 node_exporter.conf
14 14