From 2075d27c11483b9c535188ca0679b1e96526718a Mon Sep 17 00:00:00 2001 From: "Swapnil Kulkarni (coolsvap)" <me@coolsvap.net> Date: Tue, 12 Apr 2016 20:52:31 +0530 Subject: [PATCH] Update Aodh dockerfiles for formatting Change-Id: Icd64f9798482cfaea05dc34eb9f799e7b0f32188 Partial-Bug:#1569417 --- docker/aodh/aodh-api/Dockerfile.j2 | 3 ++- docker/aodh/aodh-evaluator/Dockerfile.j2 | 3 ++- docker/aodh/aodh-expirer/Dockerfile.j2 | 3 ++- docker/aodh/aodh-listener/Dockerfile.j2 | 3 ++- docker/aodh/aodh-notifier/Dockerfile.j2 | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docker/aodh/aodh-api/Dockerfile.j2 b/docker/aodh/aodh-api/Dockerfile.j2 index 7c526dbb91..cec1a3627a 100644 --- a/docker/aodh/aodh-api/Dockerfile.j2 +++ b/docker/aodh/aodh-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 openstack-aodh-api \ +RUN yum -y install \ + openstack-aodh-api \ && yum clean all {% elif base_distro in ['ubuntu'] %} diff --git a/docker/aodh/aodh-evaluator/Dockerfile.j2 b/docker/aodh/aodh-evaluator/Dockerfile.j2 index 8178c2903b..31340bc1db 100644 --- a/docker/aodh/aodh-evaluator/Dockerfile.j2 +++ b/docker/aodh/aodh-evaluator/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y openstack-aodh-evaluator \ +RUN yum -y install \ + openstack-aodh-evaluator \ && yum clean all {% elif base_distro in ['ubuntu'] %} diff --git a/docker/aodh/aodh-expirer/Dockerfile.j2 b/docker/aodh/aodh-expirer/Dockerfile.j2 index f36fb2b0d6..070da6f051 100644 --- a/docker/aodh/aodh-expirer/Dockerfile.j2 +++ b/docker/aodh/aodh-expirer/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y openstack-aodh-expirer \ +RUN yum -y install \ + openstack-aodh-expirer \ && yum clean all {% elif base_distro in ['ubuntu'] %} diff --git a/docker/aodh/aodh-listener/Dockerfile.j2 b/docker/aodh/aodh-listener/Dockerfile.j2 index 64bc6c71b2..d19744dc43 100644 --- a/docker/aodh/aodh-listener/Dockerfile.j2 +++ b/docker/aodh/aodh-listener/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y openstack-aodh-listener\ +RUN yum -y install \ + openstack-aodh-listener \ && yum clean all {% elif base_distro in ['ubuntu'] %} diff --git a/docker/aodh/aodh-notifier/Dockerfile.j2 b/docker/aodh/aodh-notifier/Dockerfile.j2 index ada653a3be..236004ffc1 100644 --- a/docker/aodh/aodh-notifier/Dockerfile.j2 +++ b/docker/aodh/aodh-notifier/Dockerfile.j2 @@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum install -y openstack-aodh-notifier\ +RUN yum -y install \ + openstack-aodh-notifier \ && yum clean all {% elif base_distro in ['ubuntu'] %}