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 %}