diff options
Diffstat (limited to 'docker/neutron/neutron-openvswitch-agent/Dockerfile.j2')
| -rw-r--r-- | docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 b/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 new file mode 100644 index 000000000..ad12e5511 --- /dev/null +++ b/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 @@ -0,0 +1,32 @@ +FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-neutron-base:{{ tag }} +MAINTAINER Kolla Project (https://launchpad.net.kolla) + +{% if install_type == 'binary' %} + {% if base_distro in ['centos', 'fedora', 'oraclelinux'] %} + +# Install required packages +RUN yum install -y \ + openstack-neutron-openvswitch \ + openvswitch \ + && yum clean all + + {% endif %} +{% elif install_type == 'source' %} + {% if base_distro in ['centos', 'fedora', 'oraclelinux'] %} + +# Install required packages +RUN yum install -y \ + #TODO: will be addressed later + https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm \ + openvswitch \ + && yum clean all + + {% endif %} +{% endif %} + +COPY start.sh / +COPY config-external.sh /opt/kolla/ + +CMD ["/start.sh"] + +{{ include_footer }} |
