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

12345678910111213141516171819202122232425262728293031
  1. FROM {{ namespace }}/{{ image_prefix }}monasca-base:{{ tag }}
  2. LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
  3. {% block monasca_agent_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-agent-archive /monasca-agent-source
  10. {% set monasca_agent_pip_packages = [
  11. '/monasca-agent'
  12. ] %}
  13. RUN ln -s monasca-agent-source/* monasca-agent \
  14. && {{ macros.install_pip(monasca_agent_pip_packages | customizable("pip_packages")) }}
  15. {% endif %}
  16. {% block monasca_agent_footer %}{% endblock %}
  17. {% block footer %}{% endblock %}
  18. USER monasca