Steven Dake 92e2f85552 centos-rdo-neutron-base fails to build
An ordering problem with the Dockerfile resultled in this
container and all thin containers failing to build.  This patch
Fixes that problem.

Change-Id: I4a7ba1554bdcba3f2147eb4eaa628d1cc19f84fd
Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>
Closes-Bug: #1468486
2015-06-24 15:04:14 -07:00

18 lines
478 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum -y install openstack-neutron \
openstack-neutron-ml2 \
python-neutron-client \
&& yum clean all
RUN mkdir -p /opt/kolla/host_proc
RUN pip install nsenter \
&& ln -s 1 /opt/kolla/host_proc/self
COPY config-neutron.sh config-sudoers.sh /opt/kolla/
RUN mv /sbin/ip /opt/kolla/ip
COPY ip_wrapper.py /sbin/ip