From 986edf4a97d9c98cd784067275c426f03df52f77 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Fri, 27 Mar 2015 18:48:49 -0500 Subject: Replace ; with && in Dockerfile When using ';' this can allow the previous command to fail and while the docker build proceeds without realizing a command failed. Switching to '&&' allows the exit code to make it to the docker build command and the build to fail appropriately. Change-Id: Idd0991ed4549542bb10d27da1a0a025d0503b6c1 --- docker/nova-compute/nova-libvirt/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docker/nova-compute/nova-libvirt/Dockerfile') diff --git a/docker/nova-compute/nova-libvirt/Dockerfile b/docker/nova-compute/nova-libvirt/Dockerfile index 36b8dfc01..7e75925fc 100644 --- a/docker/nova-compute/nova-libvirt/Dockerfile +++ b/docker/nova-compute/nova-libvirt/Dockerfile @@ -3,7 +3,8 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla) RUN yum -y install libvirtd libguestfs qemu-system-x86 \ libvirt-daemon-driver-nwfilter \ - libvirt-daemon-config-nwfilter; yum clean all + libvirt-daemon-config-nwfilter \ + && yum clean all VOLUME [ "/sys/fs/cgroup" ] -- cgit v1.2.3