9abe6d7997
This reverts commit b2d5307a44
.
Reason for revert: Bobcat uses 25+ version
Change-Id: I589a5ae43ccf52104b8cbce327ab13248d3bbde0
29 lines
778 B
Django/Jinja
29 lines
778 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block neutron_mlnx_agent_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{{ macros.enable_extra_repos(['libvirt']) }}
|
|
|
|
{% set neutron_mlnx_agent_packages = [
|
|
'python3-libvirt',
|
|
'python3-ethtool',
|
|
] %}
|
|
|
|
{{ macros.install_packages(neutron_mlnx_agent_packages | customizable("packages")) }}
|
|
|
|
{% set neutron_mlnx_agent_pip_packages = [
|
|
'networking-mlnx',
|
|
] %}
|
|
|
|
RUN {{ macros.install_pip(neutron_mlnx_agent_pip_packages | customizable("pip_packages")) }}
|
|
|
|
{% block neutron_mlnx_agent_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER neutron
|