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
31 lines
1.1 KiB
Django/Jinja
31 lines
1.1 KiB
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block prometheus_cadvisor_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% block prometheus_cadvisor_repository_version %}
|
|
ARG prometheus_cadvisor_version=0.45.0
|
|
{% if debian_arch == 'arm64' %}
|
|
ARG prometheus_cadvisor_sha256sum=bd6dad982c5950d6071ec2e1f9d474102ef3a00451395c58da9398297d35b174
|
|
{% else %}
|
|
ARG prometheus_cadvisor_sha256sum=9a2a0b69f58d932855c0af23b847cb9de8f8c32264f66f9fb5dcc8f359f34ccd
|
|
{% endif %}
|
|
ARG prometheus_cadvisor_url=https://github.com/google/cadvisor/releases/download/v${prometheus_cadvisor_version}/cadvisor-v${prometheus_cadvisor_version}-linux-{{debian_arch}}
|
|
{% endblock %}
|
|
|
|
|
|
{% block prometheus_cadvisor_install %}
|
|
RUN curl -o /tmp/cadvisor ${prometheus_cadvisor_url} \
|
|
&& echo "${prometheus_cadvisor_sha256sum} /tmp/cadvisor" | sha256sum -c \
|
|
&& mv /tmp/cadvisor /opt \
|
|
&& chmod 0755 /opt/cadvisor
|
|
{% endblock %}
|
|
|
|
|
|
{% block prometheus_cadvisor_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|