31 lines
924 B
Django/Jinja
31 lines
924 B
Django/Jinja
FROM {{ namespace }}/{{ infra_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(openvswitch_netcontrold_pip_packages | customizable("pip_packages"), constraints = false) }}
|
|
|
|
{% endblock %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_openvswitch_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_openvswitch_extend_start
|
|
|
|
{% block openvswitch_netcontrold_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|