Update ceilometer dockerfiles
Updated ceilometer-base dockerfile to include commons package Change-Id: Ieff651f0b7e9716b1b73e2e192f22e2e39dbe5a6 Closes-Bug:#1484002
This commit is contained in:
parent
7f2d46278f
commit
d14666a51d
@ -1,7 +1,16 @@
|
|||||||
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
||||||
MAINTAINER {{ maintainer }}
|
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
|
ADD ceilometer-base-archive /ceilometer-base-source
|
||||||
RUN ln -s ceilometer-base-source/* ceilometer \
|
RUN ln -s ceilometer-base-source/* ceilometer \
|
||||||
|
Loading…
Reference in New Issue
Block a user