From 62bffa7436e7481c72d0fb2b2f27f5f54016a8ed Mon Sep 17 00:00:00 2001 From: "Swapnil Kulkarni (coolsvap)" Date: Tue, 12 Apr 2016 21:10:02 +0530 Subject: [PATCH] Update Cinder dockerfiles for formatting Change-Id: I73a97fa7b7f4a38aea778d9e7e482f35e22c62a8 Partial-Bug:#1569417 --- docker/cinder/cinder-api/Dockerfile.j2 | 3 ++- docker/cinder/cinder-base/Dockerfile.j2 | 3 ++- docker/cinder/cinder-volume/Dockerfile.j2 | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/cinder/cinder-api/Dockerfile.j2 b/docker/cinder/cinder-api/Dockerfile.j2 index 60c69a7c51..c299c81f12 100644 --- a/docker/cinder/cinder-api/Dockerfile.j2 +++ b/docker/cinder/cinder-api/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y python-keystone \ +RUN yum -y install \ + python-keystone \ && yum clean all {% elif base_distro in ['ubuntu'] %} diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2 index 46eddd25e6..50d243dac0 100644 --- a/docker/cinder/cinder-base/Dockerfile.j2 +++ b/docker/cinder/cinder-base/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum -y install openstack-cinder \ +RUN yum -y install \ + openstack-cinder \ python-automaton \ lvm2 \ ceph-common \ diff --git a/docker/cinder/cinder-volume/Dockerfile.j2 b/docker/cinder/cinder-volume/Dockerfile.j2 index 66fa38d56b..35e5820e91 100644 --- a/docker/cinder/cinder-volume/Dockerfile.j2 +++ b/docker/cinder/cinder-volume/Dockerfile.j2 @@ -3,7 +3,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y \ +RUN yum -y install \ scsi-target-utils \ && yum clean all