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

12345678910111213141516171819202122232425262728293031
  1. FROM {{ namespace }}/{{ image_prefix }}monasca-base:{{ tag }}
  2. LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
  3. {% block monasca_api_header %}{% endblock %}
  4. {% import "macros.j2" as macros with context %}
  5. {% if install_type == 'binary' %}
  6. RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
  7. && /bin/false
  8. {% elif install_type == 'source' %}
  9. ADD monasca-api-archive /monasca-api-source
  10. {% set monasca_api_pip_packages = [
  11. '/monasca-api'
  12. ] %}
  13. RUN ln -s monasca-api-source/* monasca-api \
  14. && {{ macros.install_pip(monasca_api_pip_packages | customizable("pip_packages")) }}
  15. {% endif %}
  16. {% block monasca_api_footer %}{% endblock %}
  17. {% block footer %}{% endblock %}
  18. USER monasca