kolla/docker/ceilometer/ceilometer-notification/Dockerfile.j2
caoyuan cd679300a2 Remove the ceilometer api dockerfile
1. Ceilometer API has been deprecated since Ocata release,
this patch to remove it for kolla
2. move the extend_start.sh into eilometer-notification

Change-Id: Iea0a46aead14e238fe102d4127b7774dbc2be0e4
2017-12-14 20:11:19 +08:00

26 lines
943 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block ceilometer_notification_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set ceilometer_notification_packages = ['openstack-ceilometer-notification'] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% 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