28 lines
946 B
Django/Jinja
28 lines
946 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block ceilometer_notification_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_package_type == 'rpm' %}
|
|
{% set ceilometer_notification_packages = ['openstack-ceilometer-notification'] %}
|
|
{% elif base_package_type == 'deb' %}
|
|
{% set ceilometer_notification_packages = ['ceilometer-agent-notification'] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(ceilometer_notification_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_ceilometer_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_ceilometer_extend_start
|
|
|
|
{% block ceilometer_notification_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER ceilometer
|