Kolla provides production-ready containers and deployment tools for operating OpenStack clouds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
840B

  1. FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
  2. LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
  3. {% block swift_object_expirer_header %}{% endblock %}
  4. {% import "macros.j2" as macros with context %}
  5. {% if install_type == 'binary' %}
  6. {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
  7. # RDO packages swift-object-expirer in openstack-swift-proxy
  8. {% set swift_object_expirer_packages = ['openstack-swift-proxy'] %}
  9. {% elif base_distro in ['debian', 'ubuntu'] %}
  10. {% set swift_object_expirer_packages = ['swift-object-expirer'] %}
  11. {% endif %}
  12. {{ macros.install_packages(swift_object_expirer_packages | customizable("packages")) }}
  13. {% endif %}
  14. {% block swift_object_expirer_footer %}{% endblock %}
  15. {% block footer %}{% endblock %}
  16. USER swift