diff options
author | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-02-12 18:37:45 +0100 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-02-12 18:37:45 +0100 |
commit | c114831f4ee621f14e7cea29fbdaa97b381533ba (patch) | |
tree | 34cde7b5d9370866249ea9f690c2d05d34c5a7eb /Dockerfile | |
parent | f8c5bc9f2b806fbf444c995b62f5be76e12d98de (diff) | |
download | prometheus_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-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,14 +1,14 @@ | |||
1 | FROM ubuntu:13.10 | 1 | FROM ubuntu:13.10 |
2 | MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com> | 2 | MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com> |
3 | 3 | ||
4 | ENV COLLECTORS NativeCollector | ||
5 | RUN apt-get update && apt-get install -yq curl git mercurial make | 4 | RUN apt-get update && apt-get install -yq curl git mercurial make |
6 | RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -C /usr/local -xzf - | 5 | RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -C /usr/local -xzf - |
7 | ENV PATH /usr/local/go/bin:$PATH | 6 | ENV PATH /usr/local/go/bin:$PATH |
8 | ENV GOPATH /go | 7 | ENV GOPATH /go |
9 | 8 | ||
10 | ADD . /usr/src/node_exporter | 9 | ADD . /usr/src/node_exporter |
11 | RUN cd /usr/src/node_exporter && make && cp node_exporter / | 10 | RUN cd /usr/src/node_exporter && \ |
11 | go get -d && go build && cp node_exporter / | ||
12 | RUN printf '{ "scrapeInterval": 10, "attributes": {} }' > \ | 12 | RUN printf '{ "scrapeInterval": 10, "attributes": {} }' > \ |
13 | node_exporter.conf | 13 | node_exporter.conf |
14 | 14 | ||