1aca9acb2f
Change-Id: I448793566202e672348733b8bbbd6665dc251dfe
34 lines
786 B
Django/Jinja
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
|