02ce804a44
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
31 lines
806 B
Django/Jinja
31 lines
806 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}vitrage-base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block vitrage_notifier_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
|
|
{% set vitrage_notifier_packages = [
|
|
'openstack-vitrage-notifier'
|
|
] %}
|
|
|
|
{{ macros.install_packages(vitrage_notifier_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_notifier_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER vitrage
|