74601e38bf
Change-Id: Ia9c8a4d4a24f3a80652b950924917091ba7d16fe Partial-Bug:#1569417
17 lines
377 B
Django/Jinja
17 lines
377 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum -y install \
|
|
openvswitch \
|
|
&& yum clean all
|
|
|
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
openvswitch-switch \
|
|
&& apt-get clean
|
|
|
|
{% endif %}
|