
Defaults to 'image_prefix' for now but shows which images gets their names changed soon. Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
32 lines
969 B
Django/Jinja
32 lines
969 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 = [
|
|
'python3-pip',
|
|
] %}
|
|
|
|
{{ 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, pip_version = "pip3") }}
|
|
|
|
{% 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 %}
|