06ce7be1c3
TrivialFix Change-Id: I73da488b3d147c03e113772a32af8401daf1583a
22 lines
654 B
Django/Jinja
22 lines
654 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}kuryr-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% block kuryr_libnetwork_header %}{% endblock %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
|
|
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|
&& /bin/false
|
|
|
|
{% elif install_type == 'source' %}
|
|
|
|
ADD kuryr-libnetwork-archive /kuryr-libnetwork-source
|
|
RUN ln -s kuryr-libnetwork-source/* kuryr-libnetwork \
|
|
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /kuryr-libnetwork
|
|
|
|
{% endif %}
|
|
|
|
{% block kuryr_libnetwork_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|