c3997b14b7
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I3dd452d0cf502c0adf892b67b152de1c8930c77f Partial-Bug: #150530
15 lines
597 B
Django/Jinja
15 lines
597 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if install_type == 'source' %}
|
|
|
|
ADD ceilometer-base-archive /ceilometer-base-source
|
|
RUN ln -s ceilometer-base-source/* ceilometer \
|
|
&& useradd --user-group ceilometer \
|
|
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /ceilometer \
|
|
&& mkdir -p /etc/ceilometer /var/log/ceilometer /home/ceilometer \
|
|
&& cp -r /ceilometer/etc/* /etc/ceilometer/ \
|
|
&& chown -R ceilometer: /etc/ceilometer /var/log/ceilometer /home/ceilometer
|
|
|
|
{% endif %}
|