Update ceilometer dockerfiles

Updated ceilometer-base dockerfile to include commons package

Change-Id: Ieff651f0b7e9716b1b73e2e192f22e2e39dbe5a6
Closes-Bug:#1484002
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2015-11-23 22:42:57 +05:30
parent 7f2d46278f
commit d14666a51d

View File

@ -1,7 +1,16 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'source' %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
openstack-ceilometer-common \
&& yum clean all
{% endif %}
{% elif install_type == 'source' %}
ADD ceilometer-base-archive /ceilometer-base-source
RUN ln -s ceilometer-base-source/* ceilometer \