d11b8f260b
Drop root user for heat containers. Change-Id: Ib07c0193f97bb18cc6154b4015b4056fd983f6c1 Partially-Implements: blueprint drop-root
19 lines
449 B
Django/Jinja
19 lines
449 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'] %}
|
|
|
|
RUN yum -y install openstack-heat-api \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
USER heat
|
|
|
|
{{ include_footer }}
|