67da9078b9
Change-Id: I3a32334b77407a3ab7d3a844573c0161b981b555
24 lines
704 B
Django/Jinja
24 lines
704 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.15.0/skydive" \
|
|
&& chmod +x /usr/bin/skydive
|
|
{% endblock %}
|
|
|
|
{% endif %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
{% block skydive_base_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|