aboutsummaryrefslogtreecommitdiff
path: root/docker/centos-rdo-base
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/centos-rdo-base
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/centos-rdo-base')
-rw-r--r--docker/centos-rdo-base/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/centos-rdo-base/Dockerfile b/docker/centos-rdo-base/Dockerfile
index 030d751c8..d8c48afdc 100644
--- a/docker/centos-rdo-base/Dockerfile
+++ b/docker/centos-rdo-base/Dockerfile
@@ -5,10 +5,10 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
RUN curl https://copr.fedoraproject.org/coprs/larsks/crux/repo/epel-7/larsks-crux-epel-7.repo -o /etc/yum.repos.d/larsks-crux-epel-7.repo
-RUN yum install -y epel-release; yum clean all
+RUN yum install -y epel-release && yum clean all
# Update packages
-RUN yum update -y; yum clean all
+RUN yum update -y && yum clean all
# Install base packages
RUN yum install -y \
@@ -90,7 +90,7 @@ RUN yum install -y \
python-webtest \
python-werkzeug \
python-wsme \
- ; yum clean all
+ && yum clean all
# This is dirty like zebra. This works aorund a bug in Ubuntu 14.04 LTS. The
# --net=host option does not work on ubuntu 14.04 because of a kernel bug. One