kolla-ansible/docker/ceilometer/ceilometer-compute/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

25 lines
566 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-compute \
python-ceilometerclient \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
ceilometer-agent-compute \
python-ceilometerclient \
&& apt-get clean
{% endif %}
{% endif %}
{{ include_footer }}
USER ceilometer