aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-06-24 15:03:03 -0700
committerSteven Dake <stdake@cisco.com>2015-06-24 15:04:14 -0700
commit92e2f8555225b233a4b8023cd40ef729038ec1fb (patch)
treece7f5b36ea11b783fdd84e9de0ac5b88f38ec591
parent0525afce5c540989e955997af94356c8e7bda988 (diff)
downloadkolla-92e2f8555225b233a4b8023cd40ef729038ec1fb.tar.gz
kolla-92e2f8555225b233a4b8023cd40ef729038ec1fb.zip
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
-rw-r--r--docker/centos/binary/neutron/neutron-base/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/centos/binary/neutron/neutron-base/Dockerfile b/docker/centos/binary/neutron/neutron-base/Dockerfile
index 5d87dbb77..eff8a76ec 100644
--- a/docker/centos/binary/neutron/neutron-base/Dockerfile
+++ b/docker/centos/binary/neutron/neutron-base/Dockerfile
@@ -6,10 +6,11 @@ RUN yum -y install openstack-neutron \
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
-RUN mkdir -p /opt/kolla/host_proc
COPY config-neutron.sh config-sudoers.sh /opt/kolla/
RUN mv /sbin/ip /opt/kolla/ip