ddf3282c59
Change-Id: Ie76b3ada37266aded0bd9808dffdc1b578be1172 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 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 %}
|