e5903d5fa9
include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
21 lines
658 B
Django/Jinja
21 lines
658 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}sahara-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% block sahara_engine_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
{% set sahara_engine_packages = ['openstack-sahara-engine'] %}
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
{% set sahara_engine_packages = ['sahara-engine'] %}
|
|
{% endif %}
|
|
{{ macros.install_packages(sahara_engine_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
{% block sahara_engine_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER sahara
|