657e6ce523
There are quite new versions for the stuff below. - node-exporter - mysqld-exporter - mtail - memcached-exporter - elasticsearch-exporter - blackbox-exporter - alertmanager Change-Id: I051081e547074bbe13b55143d73baef5651e18fb
23 lines
932 B
Django/Jinja
23 lines
932 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block prometheus_alertmanager_header %}{% endblock %}
|
|
|
|
{% block prometheus_alertmanager_repository_version %}
|
|
ENV prometheus_alertmanager_version=0.20.0
|
|
{% endblock %}
|
|
|
|
{% block prometheus_alertmanager_install %}
|
|
RUN curl -sSL -o /tmp/prometheus_alertmanager.tar.gz https://github.com/prometheus/alertmanager/releases/download/v${prometheus_alertmanager_version}/alertmanager-${prometheus_alertmanager_version}.linux-{{debian_arch}}.tar.gz \
|
|
&& tar xvf /tmp/prometheus_alertmanager.tar.gz -C /opt/ \
|
|
&& rm -f /tmp/prometheus_alertmanager.tar.gz \
|
|
&& ln -s /opt/alertmanager* /opt/prometheus_alertmanager
|
|
{% endblock %}
|
|
|
|
{% block prometheus_alertmanager_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER prometheus
|