d3efbd07dc
Updates to ensure commands run in the ceilometer containers are done as the 'ceilometer' user rather than root. Change-Id: Ic94b876a002d4413f2038c29ffdb275c68323065 Partially-Implements: blueprint drop-root
19 lines
440 B
Django/Jinja
19 lines
440 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum install -y openstack-ceilometer-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
|
|
|
|
{{ include_footer }}
|
|
|
|
USER ceilometer
|