Skip to content
Snippets Groups Projects
Dockerfile.j2 394 B
Newer Older
  • Learn to ignore specific revisions
  • FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
    
    MAINTAINER Kolla Project (https://launchpad.net/kolla)
    
    
    Steven Dake's avatar
    Steven Dake committed
    {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
    
    
    RUN yum install -y \
            openvswitch \
    
        && yum clean all
    
    {% elif base_distro in ['ubuntu', 'debian'] %}
    
    
    Sam Yaple's avatar
    Sam Yaple committed
    RUN apt-get install -y --no-install-recommends openvswitch-switch \
        && apt-get clean