blob: 7ededdfcd6631401d3dd16f10268b172ee7ebd62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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 %}
|