Merge pull request #446 from prometheus/fix-dockerfile

Installing gcc as rule_checker and procfs dependency
This commit is contained in:
juliusv 2015-01-11 22:31:45 +01:00
commit e0a90d3da5

View file

@ -6,7 +6,7 @@ WORKDIR /prometheus
ENTRYPOINT [ "/prometheus-src/prometheus" ] ENTRYPOINT [ "/prometheus-src/prometheus" ]
CMD [ "-config.file=/prometheus.conf" ] CMD [ "-config.file=/prometheus.conf" ]
RUN apt-get update && apt-get install -yq make git curl sudo mercurial vim-common RUN apt-get update && apt-get install -yq make git curl sudo mercurial vim-common gcc
ADD . /prometheus-src ADD . /prometheus-src
RUN cd /prometheus-src && make tools binary RUN cd /prometheus-src && make tools binary
ADD ./documentation/examples/prometheus.conf /prometheus.conf ADD ./documentation/examples/prometheus.conf /prometheus.conf