summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2014-10-13 17:11:38 -0400
committerLars Kellogg-Stedman <lars@redhat.com>2014-10-13 17:11:38 -0400
commit2f6e0e4eb78ad4564d988dc25e8d5ea323da18c9 (patch)
tree749bf94a245b4686ae9b669dae486bb208b5a2f2 /docker
parent8313834d169fb20807385850b1c004220abd6609 (diff)
downloadkolla-2f6e0e4eb78ad4564d988dc25e8d5ea323da18c9.tar.gz
kolla-2f6e0e4eb78ad4564d988dc25e8d5ea323da18c9.zip
batch operations in nova-compute dockerfile
- batch yum operations to the build goes faster - yum clean after install to remove yum cache and make final image smaller Change-Id: I62246a6329a6b2ab6ab4fee6f72652a805f1e72e
Diffstat (limited to 'docker')
-rw-r--r--docker/nova-compute/nova-compute/Dockerfile29
1 files changed, 15 insertions, 14 deletions
diff --git a/docker/nova-compute/nova-compute/Dockerfile b/docker/nova-compute/nova-compute/Dockerfile
index 3f14566b4..2b519a343 100644
--- a/docker/nova-compute/nova-compute/Dockerfile
+++ b/docker/nova-compute/nova-compute/Dockerfile
@@ -3,20 +3,21 @@ MAINTAINER Steven Dake <sdake@redhat.com>
# broken out by operation - we don't need libvirt and
# 200 deps for libguestfs (?)
-RUN yum -y install curl
-RUN yum -y install iscsi-initiator-utils
-RUN yum -y install iptables
-RUN yum -y install iptables-ipv6
-RUN yum -y install ipmitool
-RUN yum -y install libvirt-python
-RUN yum -y install python-libguestfs
-RUN yum -y install openssh-clients
-RUN yum -y install rsync
-RUN yum -y install lvm2
-RUN yum -y install python-cinderclient
-RUN yum -y install genisoimage
-RUN yum -y install bridge-utils
-RUN yum -y install openstack-nova-compute
+RUN yum -y install curl \
+ iscsi-initiator-utils \
+ iptables \
+ iptables-ipv6 \
+ ipmitool \
+ libvirt-python \
+ python-libguestfs \
+ openssh-clients \
+ rsync \
+ lvm2 \
+ python-cinderclient \
+ genisoimage \
+ bridge-utils \
+ openstack-nova-compute \
+ ; yum clean all
ADD ./start.sh /start.sh
CMD ["/start.sh"]