kolla-ansible/docker/ceilometer/ceilometer-central/Dockerfile.j2
Swapnil Kulkarni (coolsvap) 970075d49a Update Ceilometer dockerfiles for formatting
Change-Id: If5ead9a476a9fede105b328d7ba7422b45eae8a7
Partial-Bug:#1569417
2016-04-12 20:57:37 +05:30

23 lines
498 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
openstack-ceilometer-central \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
ceilometer-agent-central \
&& apt-get clean
{% endif %}
{% endif %}
{{ include_footer }}
USER ceilometer