Radosław Piliszek 1aca9acb2f Build Masakari for Ubuntu binary
Change-Id: I448793566202e672348733b8bbbd6665dc251dfe
2021-01-25 15:31:55 +00:00

34 lines
786 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}masakari-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block masakari_engine_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}
{# not available #}
{% set masakari_base_packages = [
] %}
{% elif base_package_type == 'deb' %}
{% set masakari_base_packages = [
'masakari-engine',
] %}
{% endif %}
{{ macros.install_packages(masakari_base_packages | customizable("packages")) }}
{% endif %}
{% block masakari_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER masakari