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.

Dockerfile.j2 754B

12345678910111213141516171819202122
  1. FROM {{ namespace }}/{{ image_prefix }}glance-base:{{ tag }}
  2. LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
  3. {% block glance_api_header %}{% endblock %}
  4. {% import "macros.j2" as macros with context %}
  5. {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
  6. {% set glance_api_packages = ['qemu-img-ev'] %}
  7. {% elif base_distro in ['debian', 'ubuntu'] %}
  8. {% set glance_api_packages = ['qemu-utils'] %}
  9. {% endif %}
  10. {{ macros.install_packages(glance_api_packages | customizable("packages")) }}
  11. COPY extend_start.sh /usr/local/bin/kolla_glance_extend_start
  12. RUN chmod 755 /usr/local/bin/kolla_glance_extend_start
  13. {% block glance_api_footer %}{% endblock %}
  14. {% block footer %}{% endblock %}
  15. USER glance