install openstack-heat-common in heat-base

the openstack-heat-common package installs the Heat UID/GID.
This is necessary pre-work for drop-root for heat services.

Change-Id: I247b0209248de144d20f5245973833be5cd8f14f
Partially-Implements: blueprint drop-root
This commit is contained in:
Steven Dake 2015-11-10 04:44:16 -05:00
parent d4379a5cde
commit 5e15ee16de

View File

@ -1,7 +1,15 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla) MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'source' %} {% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
openstack-heat-common \
&& yum clean all
{% endif %}
{% elif install_type == 'source' %}
ADD heat-base-archive /heat-base-source ADD heat-base-archive /heat-base-source
RUN ln -s heat-base-source/* heat \ RUN ln -s heat-base-source/* heat \