summaryrefslogtreecommitdiff
path: root/docker/openvswitch/openvswitch-netcontrold/Dockerfile.j2
blob: 7c72466d02cda5258d2d485b025e91accf39f03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM {{ namespace }}/{{ image_prefix }}openvswitch-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}

{% block openvswitch_netcontrold_header %}{% endblock %}

{% import "macros.j2" as macros with context %}

{% block openvswitch_netcontrold_install %}

{% set openvswitch_netcontrold_packages = [
    ] %}

{{ macros.install_packages(openvswitch_netcontrold_packages | customizable("packages")) }}

{% set openvswitch_netcontrold_pip_packages = [
    'netcontrold',
  ]
%}

RUN {{ macros.install_pip(['pip', 'wheel', 'setuptools'], constraints=false) }} \
    && {{ macros.install_pip(openvswitch_netcontrold_pip_packages | customizable("pip_packages"), constraints = false) }}

{% endblock %}

COPY extend_start.sh /usr/local/bin/kolla_openvswitch_extend_start
RUN chmod 644 /usr/local/bin/kolla_openvswitch_extend_start

{% block openvswitch_netcontrold_footer %}{% endblock %}
{% block footer %}{% endblock %}