prometheus/Dockerfile
Johannes 'fish' Ziemke 5e8026779f Make Dockerfile build prometheus in container
This way the binary will be built in a clear environment and prometheus
can be added to the docker index.

Change-Id: I417fb90adf2503c990a96f4bad370b09b102e0b9
2014-02-14 11:47:47 +01:00

11 lines
379 B
Docker

FROM ubuntu:13.10
MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com>
EXPOSE 9090
VOLUME [ "/prometheus" ]
WORKDIR /prometheus
ENTRYPOINT [ "/prometheus-src/.build/package/run_prometheus.sh" ]
RUN apt-get update && apt-get install -yq make git curl sudo mercurial
ADD . /prometheus-src
RUN cd /prometheus-src && make binary