76920be5fa
Our openvswitch image does not follow the naming convention of any of our other containers and it should. Change-Id: If1b815117bb39df74061218e48778479b8d674bc Closes-Bug: #1500392
16 lines
394 B
Django/Jinja
16 lines
394 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum install -y \
|
|
openvswitch \
|
|
&& yum clean all
|
|
|
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
RUN apt-get install -y --no-install-recommends openvswitch-switch \
|
|
&& apt-get clean
|
|
|
|
{% endif %}
|