kolla/docker/prometheus/prometheus-alertmanager/Dockerfile.j2
Michal Nasiadka 750a137815 Move curl sources to sources.py
Move most curl sources to sources.py, so it can be automatically
updated in future.

This also makes overriding the versions/locations/sha256 easier.

Change-Id: Ib3497fe96162ae190e5c113cacaaa3ef8334f590
2024-02-21 08:26:52 +00:00

18 lines
596 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_install %}
ADD prometheus-alertmanager-archive /prometheus-alertmanager-source
RUN cp -r /prometheus-alertmanager-source/* /opt/ \
&& ln -s /opt/alertmanager* /opt/prometheus_alertmanager
{% endblock %}
{% block prometheus_alertmanager_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER prometheus