cfa5b36e53
This patchset contains customization of Dockerfile of ceilometer containers Change-Id: Iee8db7e105fbd8c3d5c947dd3b7c5e0ca7c49b78 Partially-implements: blueprint third-party-plugin-support
22 lines
692 B
Django/Jinja
22 lines
692 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
{% set ceilometer_central_packages = ['openstack-ceilometer-central'] %}
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
{% set ceilometer_central_packages = ['ceilometer-agent-central'] %}
|
|
{% endif %}
|
|
|
|
RUN {{ macros.install_packages(ceilometer_central_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
|
|
{% block ceilometer_central_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|
|
|
|
USER ceilometer
|