kolla/docker/prometheus/prometheus-msteams/Dockerfile.j2
Bartosz Bezak 773c6963e2 Update Prometheus services to latest releases
blackbox_exporter 0.22.0 -> 0.24.0
elasticsearch_exporter 1.5.0 -> 1.6.0
haproxy_exporter 0.13.0 -> 0.15.0
memcached_exporter 0.10.0 -> 0.13.0
mysqld_exporter 0.14.0 -> 0.15.0
node_exporter 1.4.0 -> 1.7.0
ovn_exporter 1.0.6 -> 1.0.7
prometheus 2.38.0 -> 2.48.0
prometheus_alertmanager 0.24.0 -> 0.26.0
prometheus_cadvisor 0.45.0 -> 0.47.2
prometheus_mtail v3.0.0-rc50 -> v3.0.0-rc52
prometheus_msteams 1.5.1 -> 1.5.2

Change-Id: If3f6ff059bedba5c92d97442d77e44aeecef71c4
2023-11-24 13:54:39 +00:00

26 lines
1.0 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_msteams_header %}{% endblock %}
{% block prometheus_msteams_repository_version %}
ARG prometheus_msteams_version=1.5.2
ARG prometheus_msteams_sha256sum=0f4df9ee31e655d1ec876ea2c53ab5ae5b07143ef21b9190e61b4d52839e135c
ARG prometheus_msteams_url=https://github.com/prometheus-msteams/prometheus-msteams/releases/download/v${prometheus_msteams_version}/prometheus-msteams-linux-{{debian_arch}}
{% endblock %}
{% block prometheus_msteams_install %}
RUN curl -o /tmp/prometheus-msteams ${prometheus_msteams_url} \
&& echo "${prometheus_msteams_sha256sum} /tmp/prometheus-msteams" | sha256sum -c \
&& mv /tmp/prometheus-msteams /opt \
&& chmod 0755 /opt/prometheus-msteams \
&& mkdir -p /etc/msteams
{% endblock %}
{% block prometheus_msteams_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER prometheus