diff options
| author | Sam Yaple <sam@yaple.net> | 2015-03-27 18:48:49 -0500 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-03-27 18:52:48 -0500 |
| commit | 986edf4a97d9c98cd784067275c426f03df52f77 (patch) | |
| tree | 22793b9eebbac421986855dbdc290b849726a772 /docker/fedora-rdo-base | |
| parent | afcc1569b8fe3f962ad13bd0ed780c3336163fd3 (diff) | |
| download | kolla-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/fedora-rdo-base')
| -rw-r--r-- | docker/fedora-rdo-base/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/fedora-rdo-base/Dockerfile b/docker/fedora-rdo-base/Dockerfile index 19a4b72a1..a6f2400ff 100644 --- a/docker/fedora-rdo-base/Dockerfile +++ b/docker/fedora-rdo-base/Dockerfile @@ -3,11 +3,11 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla) # Set up repositories RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm -RUN yum -y install dnf dnf-plugins-core; yum clean all +RUN yum -y install dnf dnf-plugins-core && yum clean all RUN dnf copr enable -y larsks/crux # Update packages -RUN yum update -y; yum clean all +RUN yum update -y && yum clean all # Install base packages RUN yum install -y \ @@ -89,7 +89,7 @@ RUN yum install -y \ python-webtest \ python-werkzeug \ python-wsme \ - ; yum clean all + && yum clean all RUN mkdir -p /opt/kolla ADD service_hosts.sh /opt/kolla/service_hosts.sh |
