26b027f0b3
blackbox_exporter -> 0.22.0 prometheus_cadvisor -> 0.45.0 elasticsearch_exporter -> 1.5.0 haproxy_exporter -> 0.13.0 prometheus_libvirt_exporter -> 2.3.2 memcached_exporter_version -> 0.10.0 prometheus_msteams -> 1.5.1 prometheus_mtail -> v3.0.0-rc50 mysqld_exporter -> 0.14.0 node_exporter -> 1.3.1 prometheus -> 2.38.0 Change-Id: I3452e8904992bfb977dcae4084a0d98aab82e221
24 lines
862 B
Django/Jinja
24 lines
862 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block node_exporter_header %}{% endblock %}
|
|
|
|
{% block node_exporter_repository_version %}
|
|
ARG node_exporter_version=1.3.1
|
|
ARG node_exporter_url=https://github.com/prometheus/node_exporter/releases/download/v{$node_exporter_version}/node_exporter-${node_exporter_version}.linux-{{debian_arch}}.tar.gz
|
|
{% endblock %}
|
|
|
|
{% block node_exporter_install %}
|
|
RUN curl -o /tmp/node_exporter.tar.gz ${node_exporter_url} \
|
|
&& tar xvf /tmp/node_exporter.tar.gz -C /opt/ \
|
|
&& rm -f /tmp/node_exporter.tar.gz \
|
|
&& ln -s /opt/node_exporter* /opt/node_exporter
|
|
{% endblock %}
|
|
|
|
{% block node_exporter_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER prometheus
|