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 828B

123456789101112131415161718192021222324
  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'] %}
  6. {% set glance_api_packages = ['qemu-img-ev'] %}
  7. {% elif base_distro == 'rhel' %}
  8. {% set glance_api_packages = ['qemu-img'] %}
  9. {% elif base_distro in ['debian', 'ubuntu'] %}
  10. {% set glance_api_packages = ['qemu-utils'] %}
  11. {% endif %}
  12. {{ macros.install_packages(glance_api_packages | customizable("packages")) }}
  13. COPY extend_start.sh /usr/local/bin/kolla_glance_extend_start
  14. RUN chmod 755 /usr/local/bin/kolla_glance_extend_start
  15. {% block glance_api_footer %}{% endblock %}
  16. {% block footer %}{% endblock %}
  17. USER glance