cbbceb0ad3
Add container for prometheus, mysqld_exporter, node_exporter and haproxy_exporter Change-Id: I6e4eb0391380e594b708a67365e240d3eeafd88b
22 lines
622 B
Django/Jinja
22 lines
622 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block prometheus_base_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{{ macros.configure_user(name='prometheus') }}
|
|
|
|
{% if base_arch == 'x86_64' %}
|
|
ENV prometheus_arch=amd64
|
|
{% elif base_arch == 'aarch64' %}
|
|
ENV prometheus_arch=arm64
|
|
{% else %}
|
|
ENV prometheus_arch={{ base_arch }}
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
{% block prometheus_base_footer %}{% endblock %}
|