FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }} MAINTAINER {{ maintainer }} {% block swift_proxy_server_header %}{% endblock %} {% import "macros.j2" as macros with context %} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% set swift_proxy_server_packages = ['openstack-swift-proxy'] %} {% elif base_distro in ['ubuntu'] %} {% set swift_proxy_server_packages = ['swift-proxy'] %} {% endif %} {{ macros.install_packages(swift_proxy_server_packages | customizable("packages")) }} {% endif %} {% block swift_proxy_server_footer %}{% endblock %} {% block footer %}{% endblock %} {{ include_footer }} USER swift