FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }} LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" {% block manila_data_header %}{% endblock %} {% import "macros.j2" as macros with context %} {% if install_type == 'binary' %} {% if base_distro in ['debian', 'ubuntu'] %} {% set manila_data_packages = [ 'manila-data' ] %} {% endif %} {% elif install_type == 'source' %} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set manila_data_packages = [ 'nfs-utils' ] %} {% elif base_distro in ['debian', 'ubuntu'] %} {% set manila_data_packages = [ 'nfs-common' ] %} {% endif %} {% endif %} {{ macros.install_packages(manila_data_packages | customizable("packages")) }} {% block manila_data_footer %}{% endblock %} {% block footer %}{% endblock %} USER manila