d11b8f260b
Drop root user for heat containers. Change-Id: Ib07c0193f97bb18cc6154b4015b4056fd983f6c1 Partially-Implements: blueprint drop-root
21 lines
594 B
Django/Jinja
21 lines
594 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}heat-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
# TODO(SamYaple): until packaging is fixed, all of the python clients below are required
|
|
# http://pkgs.fedoraproject.org/cgit/openstack-heat.git/tree/openstack-heat.spec#n248
|
|
RUN yum -y install \
|
|
python-barbicanclient \
|
|
python-zaqarclient \
|
|
openstack-heat-engine \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
USER heat
|
|
|
|
{{ include_footer }}
|