kolla-ansible/docker/kuryr/kuryr-libnetwork/Dockerfile.j2
Hui Kang 4fabd37e31 Add kuryr-libnetwork Dockerfile
Kuryr repo has been split to kuryr and kuryr-libnetwork

Change-Id: I6d05adf1de89611e2cb0f8469ed42ca1401ace56
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-14 22:27:36 +00:00

20 lines
603 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}kuryr-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% 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 }}