aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-10-06 15:58:12 -0700
committerSteven Dake <stdake@cisco.com>2015-10-06 22:59:53 -0700
commit2dead815647b448bbcdc86bb2268f48d9a8d2515 (patch)
tree05525efa86c9d23deb816d1753af3b82a4fb1de6 /docker
parentfbb1842fc8f9c4c418d37d305ea80b3c4130c31c (diff)
downloadkolla-2dead815647b448bbcdc86bb2268f48d9a8d2515.tar.gz
kolla-2dead815647b448bbcdc86bb2268f48d9a8d2515.zip
Install agent dependencies from source for CentOS
Several packages are not installed from RPM packages which are required in order for CentOS from source to operate correctly. This looked like sudo was failing to execute, but it was because the dnsmasq binary was not found. backport: liberty Change-Id: If23cfbacd55d9089ffec442399ee0151adea923f Closes-Bug: #1503412
Diffstat (limited to 'docker')
-rw-r--r--docker/neutron/neutron-base/Dockerfile.j211
1 files changed, 10 insertions, 1 deletions
diff --git a/docker/neutron/neutron-base/Dockerfile.j2 b/docker/neutron/neutron-base/Dockerfile.j2
index fe073d8cf..8a48517d1 100644
--- a/docker/neutron/neutron-base/Dockerfile.j2
+++ b/docker/neutron/neutron-base/Dockerfile.j2
@@ -15,7 +15,16 @@ RUN pip install oslo.versionedobjects
{% endif %}
{% elif install_type == 'source' %}
- {% if base_distro in ['ubuntu', 'debian'] %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
+
+RUN yum -y install \
+ uuid \
+ dnsmasq \
+ ipset \
+ openvswitch \
+ && yum clean all
+
+ {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
iptables \