2016-04-22 09:45:45 -07:00
|
|
|
FROM quay.io/prometheus/busybox:latest
|
2015-06-20 06:14:08 -07:00
|
|
|
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
|
2015-01-12 06:15:26 -08:00
|
|
|
|
2015-12-21 09:09:38 -08:00
|
|
|
COPY prometheus /bin/prometheus
|
|
|
|
COPY promtool /bin/promtool
|
|
|
|
COPY documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml
|
2016-05-29 15:02:38 -07:00
|
|
|
COPY console_libraries/ /etc/prometheus/console_libraries/
|
|
|
|
COPY consoles/ /etc/prometheus/consoles/
|
2015-01-12 06:15:26 -08:00
|
|
|
|
2014-02-06 08:29:37 -08:00
|
|
|
EXPOSE 9090
|
2015-04-24 07:12:31 -07:00
|
|
|
VOLUME [ "/prometheus" ]
|
2014-02-06 08:29:37 -08:00
|
|
|
WORKDIR /prometheus
|
2015-04-23 12:15:23 -07:00
|
|
|
ENTRYPOINT [ "/bin/prometheus" ]
|
2015-05-22 08:08:27 -07:00
|
|
|
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
|
2015-03-03 15:34:35 -08:00
|
|
|
"-storage.local.path=/prometheus", \
|
2015-04-23 12:15:23 -07:00
|
|
|
"-web.console.libraries=/etc/prometheus/console_libraries", \
|
|
|
|
"-web.console.templates=/etc/prometheus/consoles" ]
|