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', 'fedora', '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 %} {{ include_footer }} USER sahara