6338f8fbb0
This patch introduces the docker template to build the skydive container, that can be used to monitor and troubleshoot networking in an openstack deployment. The skydive-analyzer and the skydive-agent will both rely on the same container. Implements: blueprint skydive-service Co-Authored-By: Nicolas Bouron <nicolas.bouron@gmail.com> Signed-off-by: Mathieu Rohon <mathieu.rohon@gmail.com> Change-Id: Iab783179c2c3aba496a91debfd38a12215ae9f10
21 lines
600 B
Django/Jinja
21 lines
600 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block skydive_base_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{{ macros.configure_user(name='skydive') }}
|
|
|
|
{% if base_arch == 'x86_64' %}
|
|
|
|
{% block skydive_install %}
|
|
RUN curl -o /usr/bin/skydive -L "https://github.com/skydive-project/skydive/releases/download/v0.11.0/skydive" \
|
|
&& chmod +x /usr/bin/skydive
|
|
{% endblock %}
|
|
|
|
{% endif %}
|
|
|
|
{% block skydive_base_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|