diff --git a/docker/mesos/mesos-base/Dockerfile.j2 b/docker/mesos/mesos-base/Dockerfile.j2 index f4dd4e450e..8b97a8c74b 100644 --- a/docker/mesos/mesos-base/Dockerfile.j2 +++ b/docker/mesos/mesos-base/Dockerfile.j2 @@ -3,7 +3,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y \ +RUN yum -y install \ mesos \ && yum clean all diff --git a/docker/mesos/mesos-slave/Dockerfile.j2 b/docker/mesos/mesos-slave/Dockerfile.j2 index 339468d20c..791b61555e 100644 --- a/docker/mesos/mesos-slave/Dockerfile.j2 +++ b/docker/mesos/mesos-slave/Dockerfile.j2 @@ -7,7 +7,7 @@ COPY docker.repo /etc/yum.repos.d/docker.repo RUN rpm --import https://yum.dockerproject.org/gpg -RUN yum install -y \ +RUN yum -y install \ docker-engine \ && yum clean all