diff options
Diffstat (limited to 'docker/vitrage/vitrage-graph')
| -rw-r--r-- | docker/vitrage/vitrage-graph/Dockerfile.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/vitrage/vitrage-graph/Dockerfile.j2 b/docker/vitrage/vitrage-graph/Dockerfile.j2 index b0bd32083..983c39d88 100644 --- a/docker/vitrage/vitrage-graph/Dockerfile.j2 +++ b/docker/vitrage/vitrage-graph/Dockerfile.j2 @@ -3,11 +3,25 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% 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 %} |
