kolla-ansible/docker/ceilometer/ceilometer-base/Dockerfile.j2
Paul Bourke c3997b14b7 Use openstack/requirements for ceilometer
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I3dd452d0cf502c0adf892b67b152de1c8930c77f
Partial-Bug: #150530
2015-10-15 11:08:58 +00:00

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 %}