kolla/docker/vitrage/vitrage-graph/Dockerfile.j2
Eduardo Gonzalez 02ce804a44 Fix vitrage images
Vitrage start api service under apache or uwsgi.
We have not created a migration to uwsgi.
This change adds apache packages needed for api
also add rdo binaries to rpm distros.

Adds missing collector image.

Change-Id: Iecb32e321b46f9b567af25fa6acafbe9a292bbca
Closes-Bug: #1681613
2017-10-14 16:54:00 +00:00

31 lines
791 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}vitrage-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block vitrage_graph_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set vitrage_graph_packages = [
'openstack-vitrage-graph'
] %}
{{ macros.install_packages(vitrage_graph_packages | customizable("packages")) }}
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
{% block vitrage_graph_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER vitrage