aboutsummaryrefslogtreecommitdiff
path: root/docker/heat
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-03-27 18:48:49 -0500
committerSam Yaple <sam@yaple.net>2015-03-27 18:52:48 -0500
commit986edf4a97d9c98cd784067275c426f03df52f77 (patch)
tree22793b9eebbac421986855dbdc290b849726a772 /docker/heat
parentafcc1569b8fe3f962ad13bd0ed780c3336163fd3 (diff)
downloadkolla-986edf4a97d9c98cd784067275c426f03df52f77.tar.gz
kolla-986edf4a97d9c98cd784067275c426f03df52f77.zip
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
Diffstat (limited to 'docker/heat')
-rw-r--r--docker/heat/heat-api/Dockerfile2
-rw-r--r--docker/heat/heat-engine/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/heat/heat-api/Dockerfile b/docker/heat/heat-api/Dockerfile
index b89f76914..76149b280 100644
--- a/docker/heat/heat-api/Dockerfile
+++ b/docker/heat/heat-api/Dockerfile
@@ -6,7 +6,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum -y install \
openstack-heat-api \
python-openstackclient \
- ; yum clean all
+ && yum clean all
ADD ./start.sh /start.sh
ADD ./check.sh /check.sh
diff --git a/docker/heat/heat-engine/Dockerfile b/docker/heat/heat-engine/Dockerfile
index f678f84e7..544830d06 100644
--- a/docker/heat/heat-engine/Dockerfile
+++ b/docker/heat/heat-engine/Dockerfile
@@ -3,7 +3,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum -y install \
openstack-heat-engine \
- ; yum clean all
+ && yum clean all
ADD ./start.sh /start.sh
CMD ["/start.sh"]