kolla/docker/skydive/skydive-analyzer/Dockerfile.j2
Sylvain Baubeau 7a5b6836c1 skydive: use packages on rpm based distros
Change-Id: Ifd665a81822c042ee03f6b11da57593472e0a1cb
2018-08-08 09:50:42 +02:00

20 lines
621 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}skydive-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block skydive_analyzer_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% block skydive_analyzer_install %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set skydive_analyzer_packages = ['skydive-analyzer'] %}
{{ macros.install_packages(skydive_analyzer_packages | customizable("packages")) }}
{% endif %}
{% endblock %}
{% block skydive_analyzer_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER skydive