From 435b21b90d97481dacbd387a3c20993ff4e4ab39 Mon Sep 17 00:00:00 2001 From: "Swapnil Kulkarni (coolsvap)" Date: Tue, 17 May 2016 10:04:59 +0530 Subject: [PATCH] Update ubuntu dockerfiles for formatting Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417 --- dev/vagrant/bootstrap.sh | 8 ++++---- doc/vagrant-dev-env.rst | 2 +- docker/aodh/aodh-api/Dockerfile.j2 | 2 +- docker/aodh/aodh-base/Dockerfile.j2 | 2 +- docker/aodh/aodh-evaluator/Dockerfile.j2 | 2 +- docker/aodh/aodh-expirer/Dockerfile.j2 | 2 +- docker/aodh/aodh-listener/Dockerfile.j2 | 2 +- docker/aodh/aodh-notifier/Dockerfile.j2 | 2 +- docker/base/Dockerfile.j2 | 2 +- docker/ceilometer/ceilometer-api/Dockerfile.j2 | 2 +- docker/ceilometer/ceilometer-base/Dockerfile.j2 | 2 +- docker/ceilometer/ceilometer-central/Dockerfile.j2 | 2 +- docker/ceilometer/ceilometer-collector/Dockerfile.j2 | 2 +- docker/ceilometer/ceilometer-compute/Dockerfile.j2 | 4 ++-- docker/ceilometer/ceilometer-notification/Dockerfile.j2 | 2 +- docker/ceph/ceph-base/Dockerfile.j2 | 2 +- docker/cinder/cinder-api/Dockerfile.j2 | 2 +- docker/cinder/cinder-backup/Dockerfile.j2 | 2 +- docker/cinder/cinder-base/Dockerfile.j2 | 4 ++-- docker/cinder/cinder-rpcbind/Dockerfile.j2 | 2 +- docker/cinder/cinder-scheduler/Dockerfile.j2 | 2 +- docker/cinder/cinder-volume/Dockerfile.j2 | 2 +- docker/cron/Dockerfile.j2 | 2 +- docker/designate/designate-api/Dockerfile.j2 | 2 +- docker/designate/designate-backend-bind9/Dockerfile.j2 | 2 +- docker/designate/designate-base/Dockerfile.j2 | 2 +- docker/designate/designate-central/Dockerfile.j2 | 2 +- docker/designate/designate-mdns/Dockerfile.j2 | 2 +- docker/designate/designate-poolmanager/Dockerfile.j2 | 2 +- docker/designate/designate-sink/Dockerfile.j2 | 2 +- docker/dind/Dockerfile.j2 | 2 +- docker/elasticsearch/Dockerfile.j2 | 2 +- docker/glance/glance-base/Dockerfile.j2 | 4 ++-- docker/gnocchi/gnocchi-base/Dockerfile.j2 | 2 +- docker/haproxy/Dockerfile.j2 | 2 +- docker/heat/heat-api-cfn/Dockerfile.j2 | 2 +- docker/heat/heat-api/Dockerfile.j2 | 2 +- docker/heat/heat-base/Dockerfile.j2 | 2 +- docker/heat/heat-engine/Dockerfile.j2 | 2 +- docker/horizon/Dockerfile.j2 | 4 ++-- docker/ironic/ironic-api/Dockerfile.j2 | 2 +- docker/ironic/ironic-base/Dockerfile.j2 | 2 +- docker/ironic/ironic-conductor/Dockerfile.j2 | 4 ++-- docker/ironic/ironic-pxe/Dockerfile.j2 | 2 +- docker/iscsid/Dockerfile.j2 | 2 +- docker/keepalived/Dockerfile.j2 | 2 +- docker/keystone/Dockerfile.j2 | 4 ++-- docker/kibana/Dockerfile.j2 | 2 +- docker/manila/manila-api/Dockerfile.j2 | 2 +- docker/manila/manila-base/Dockerfile.j2 | 4 ++-- docker/manila/manila-scheduler/Dockerfile.j2 | 2 +- docker/mariadb/Dockerfile.j2 | 2 +- docker/memcached/Dockerfile.j2 | 2 +- docker/mongodb/Dockerfile.j2 | 2 +- docker/murano/murano-api/Dockerfile.j2 | 2 +- docker/murano/murano-base/Dockerfile.j2 | 2 +- docker/murano/murano-engine/Dockerfile.j2 | 2 +- docker/neutron/neutron-base/Dockerfile.j2 | 4 ++-- docker/neutron/neutron-dhcp-agent/Dockerfile.j2 | 2 +- docker/neutron/neutron-l3-agent/Dockerfile.j2 | 2 +- docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2 | 4 ++-- docker/neutron/neutron-metadata-agent/Dockerfile.j2 | 2 +- docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 | 2 +- docker/nova/nova-api/Dockerfile.j2 | 2 +- docker/nova/nova-base/Dockerfile.j2 | 4 ++-- docker/nova/nova-compute-ironic/Dockerfile.j2 | 2 +- docker/nova/nova-compute/Dockerfile.j2 | 4 ++-- docker/nova/nova-conductor/Dockerfile.j2 | 2 +- docker/nova/nova-consoleauth/Dockerfile.j2 | 2 +- docker/nova/nova-libvirt/Dockerfile.j2 | 2 +- docker/nova/nova-network/Dockerfile.j2 | 2 +- docker/nova/nova-novncproxy/Dockerfile.j2 | 2 +- docker/nova/nova-scheduler/Dockerfile.j2 | 2 +- docker/nova/nova-spicehtml5proxy/Dockerfile.j2 | 2 +- docker/nova/nova-ssh/Dockerfile.j2 | 2 +- docker/openstack-base/Dockerfile.j2 | 4 ++-- docker/openvswitch/openvswitch-base/Dockerfile.j2 | 2 +- docker/rabbitmq/Dockerfile.j2 | 2 +- docker/swift/swift-account/Dockerfile.j2 | 2 +- docker/swift/swift-base/Dockerfile.j2 | 4 ++-- docker/swift/swift-container/Dockerfile.j2 | 2 +- docker/swift/swift-object/Dockerfile.j2 | 2 +- docker/swift/swift-proxy-server/Dockerfile.j2 | 2 +- docker/swift/swift-rsyncd/Dockerfile.j2 | 2 +- docker/tempest/Dockerfile.j2 | 2 +- docker/tgtd/Dockerfile.j2 | 2 +- docker/trove/trove-api/Dockerfile.j2 | 2 +- docker/trove/trove-base/Dockerfile.j2 | 2 +- docker/trove/trove-conductor/Dockerfile.j2 | 2 +- docker/trove/trove-guestagent/Dockerfile.j2 | 2 +- docker/trove/trove-taskmanager/Dockerfile.j2 | 2 +- tools/setup_Debian.sh | 2 +- 92 files changed, 108 insertions(+), 108 deletions(-) diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index 7e8a006b03..80ab41ceaa 100644 --- a/dev/vagrant/bootstrap.sh +++ b/dev/vagrant/bootstrap.sh @@ -31,7 +31,7 @@ function _ensure_lsb_release { fi if [[ -x $(which apt-get 2>/dev/null) ]]; then - apt-get install -y lsb-release + apt-get -y install lsb-release elif [[ -x $(which yum 2>/dev/null) ]]; then yum -y install redhat-lsb-core fi @@ -71,7 +71,7 @@ function prep_work { yum -y install MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel elif is_ubuntu; then apt-get update - apt-get install -y python-mysqldb python-pip python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev + apt-get -y install python-mysqldb python-pip python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev else echo "Unsupported Distro: $DISTRO" 1>&2 exit 1 @@ -118,7 +118,7 @@ EOF apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" > /etc/apt/sources.list.d/docker.list apt-get update - apt-get install -y docker-engine + apt-get -y install docker-engine sed -i -r "s,(ExecStart)=(.+),\1=/usr/bin/docker daemon --insecure-registry ${REGISTRY} --registry-mirror=http://${REGISTRY}|" /lib/systemd/system/docker.service else echo "Unsupported Distro: $DISTRO" 1>&2 @@ -161,7 +161,7 @@ function configure_operator { if is_centos; then yum -y install git mariadb elif is_ubuntu; then - apt-get install -y git mariadb-client selinux-utils + apt-get -y install git mariadb-client selinux-utils else echo "Unsupported Distro: $DISTRO" 1>&2 exit 1 diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst index 1d861156e4..b2933ca46d 100644 --- a/doc/vagrant-dev-env.rst +++ b/doc/vagrant-dev-env.rst @@ -45,7 +45,7 @@ On Fedora 22 it is as easy as:: On Ubuntu 14.04 it is as easy as:: - sudo apt-get install vagrant ruby-dev ruby-libvirt python-libvirt libvirt-dev nfs-kernel-server + sudo apt-get -y install vagrant ruby-dev ruby-libvirt python-libvirt libvirt-dev nfs-kernel-server **Note:** Many distros ship outdated versions of Vagrant by default. When in doubt, always install the latest from the downloads page above. diff --git a/docker/aodh/aodh-api/Dockerfile.j2 b/docker/aodh/aodh-api/Dockerfile.j2 index cec1a3627a..81fd8f363c 100644 --- a/docker/aodh/aodh-api/Dockerfile.j2 +++ b/docker/aodh/aodh-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-api \ && apt-get clean diff --git a/docker/aodh/aodh-base/Dockerfile.j2 b/docker/aodh/aodh-base/Dockerfile.j2 index 968649c66a..44951be5b5 100644 --- a/docker/aodh/aodh-base/Dockerfile.j2 +++ b/docker/aodh/aodh-base/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-common \ && apt-get clean diff --git a/docker/aodh/aodh-evaluator/Dockerfile.j2 b/docker/aodh/aodh-evaluator/Dockerfile.j2 index 31340bc1db..18507a4c0c 100644 --- a/docker/aodh/aodh-evaluator/Dockerfile.j2 +++ b/docker/aodh/aodh-evaluator/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-evaluator \ && apt-get clean diff --git a/docker/aodh/aodh-expirer/Dockerfile.j2 b/docker/aodh/aodh-expirer/Dockerfile.j2 index 070da6f051..03b0560726 100644 --- a/docker/aodh/aodh-expirer/Dockerfile.j2 +++ b/docker/aodh/aodh-expirer/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-expirer \ && apt-get clean diff --git a/docker/aodh/aodh-listener/Dockerfile.j2 b/docker/aodh/aodh-listener/Dockerfile.j2 index d19744dc43..a329f0d818 100644 --- a/docker/aodh/aodh-listener/Dockerfile.j2 +++ b/docker/aodh/aodh-listener/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-listener \ && apt-get clean diff --git a/docker/aodh/aodh-notifier/Dockerfile.j2 b/docker/aodh/aodh-notifier/Dockerfile.j2 index 236004ffc1..29d11cf98b 100644 --- a/docker/aodh/aodh-notifier/Dockerfile.j2 +++ b/docker/aodh/aodh-notifier/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ aodh-notifier \ && apt-get clean diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 47d90ab6ad..fc79a443cc 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -197,7 +197,7 @@ RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 199369E540 && apt-get update \ && apt-get upgrade -y \ && apt-get dist-upgrade -y \ - && apt-get install -y --no-install-recommends \ + && apt-get -y install --no-install-recommends \ ca-certificates \ python \ curl \ diff --git a/docker/ceilometer/ceilometer-api/Dockerfile.j2 b/docker/ceilometer/ceilometer-api/Dockerfile.j2 index f3695a2b80..9d363498f1 100644 --- a/docker/ceilometer/ceilometer-api/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-api \ && apt-get clean diff --git a/docker/ceilometer/ceilometer-base/Dockerfile.j2 b/docker/ceilometer/ceilometer-base/Dockerfile.j2 index 90ce0b3346..b637e41256 100644 --- a/docker/ceilometer/ceilometer-base/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-base/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-common \ && apt-get clean diff --git a/docker/ceilometer/ceilometer-central/Dockerfile.j2 b/docker/ceilometer/ceilometer-central/Dockerfile.j2 index 44dae40043..e2c37afa77 100644 --- a/docker/ceilometer/ceilometer-central/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-central/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-agent-central \ && apt-get clean diff --git a/docker/ceilometer/ceilometer-collector/Dockerfile.j2 b/docker/ceilometer/ceilometer-collector/Dockerfile.j2 index 5bf0e9a2dd..d67b2b1806 100644 --- a/docker/ceilometer/ceilometer-collector/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-collector/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-collector \ && apt-get clean diff --git a/docker/ceilometer/ceilometer-compute/Dockerfile.j2 b/docker/ceilometer/ceilometer-compute/Dockerfile.j2 index d8cd44e838..829d1403e7 100644 --- a/docker/ceilometer/ceilometer-compute/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-compute/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-agent-compute \ python-ceilometerclient \ && apt-get clean @@ -26,7 +26,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ libvirt-dev \ && apt-get clean diff --git a/docker/ceilometer/ceilometer-notification/Dockerfile.j2 b/docker/ceilometer/ceilometer-notification/Dockerfile.j2 index 7546f0f5a7..8896dc562c 100644 --- a/docker/ceilometer/ceilometer-notification/Dockerfile.j2 +++ b/docker/ceilometer/ceilometer-notification/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceilometer-agent-notification \ && apt-get clean diff --git a/docker/ceph/ceph-base/Dockerfile.j2 b/docker/ceph/ceph-base/Dockerfile.j2 index c71319dfd9..45ba62b9b8 100644 --- a/docker/ceph/ceph-base/Dockerfile.j2 +++ b/docker/ceph/ceph-base/Dockerfile.j2 @@ -13,7 +13,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceph \ radosgw \ parted \ diff --git a/docker/cinder/cinder-api/Dockerfile.j2 b/docker/cinder/cinder-api/Dockerfile.j2 index c299c81f12..2b2414b8df 100644 --- a/docker/cinder/cinder-api/Dockerfile.j2 +++ b/docker/cinder/cinder-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ cinder-api \ && apt-get clean diff --git a/docker/cinder/cinder-backup/Dockerfile.j2 b/docker/cinder/cinder-backup/Dockerfile.j2 index 74a5ebea16..13d707d877 100644 --- a/docker/cinder/cinder-backup/Dockerfile.j2 +++ b/docker/cinder/cinder-backup/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ cinder-backup \ && apt-get clean diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2 index 50d243dac0..7253b46bf8 100644 --- a/docker/cinder/cinder-base/Dockerfile.j2 +++ b/docker/cinder/cinder-base/Dockerfile.j2 @@ -14,7 +14,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ cinder-common \ ceph-common \ lvm2 \ @@ -33,7 +33,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ lvm2 \ qemu-utils \ ceph-common \ diff --git a/docker/cinder/cinder-rpcbind/Dockerfile.j2 b/docker/cinder/cinder-rpcbind/Dockerfile.j2 index 6d37160756..02085901a0 100644 --- a/docker/cinder/cinder-rpcbind/Dockerfile.j2 +++ b/docker/cinder/cinder-rpcbind/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ rpcbind \ && apt-get clean diff --git a/docker/cinder/cinder-scheduler/Dockerfile.j2 b/docker/cinder/cinder-scheduler/Dockerfile.j2 index 2e2a126758..3c8c0c6c6b 100644 --- a/docker/cinder/cinder-scheduler/Dockerfile.j2 +++ b/docker/cinder/cinder-scheduler/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ cinder-scheduler \ && apt-get clean diff --git a/docker/cinder/cinder-volume/Dockerfile.j2 b/docker/cinder/cinder-volume/Dockerfile.j2 index 35e5820e91..73ede467f6 100644 --- a/docker/cinder/cinder-volume/Dockerfile.j2 +++ b/docker/cinder/cinder-volume/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ tgt \ && apt-get clean diff --git a/docker/cron/Dockerfile.j2 b/docker/cron/Dockerfile.j2 index fd7b53cd5e..326e339539 100644 --- a/docker/cron/Dockerfile.j2 +++ b/docker/cron/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ cron \ logrotate \ && apt-get clean diff --git a/docker/designate/designate-api/Dockerfile.j2 b/docker/designate/designate-api/Dockerfile.j2 index df26862cfd..e054395b03 100644 --- a/docker/designate/designate-api/Dockerfile.j2 +++ b/docker/designate/designate-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ designate-api \ && apt-get clean diff --git a/docker/designate/designate-backend-bind9/Dockerfile.j2 b/docker/designate/designate-backend-bind9/Dockerfile.j2 index 5508fb16fb..bee72f3742 100644 --- a/docker/designate/designate-backend-bind9/Dockerfile.j2 +++ b/docker/designate/designate-backend-bind9/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ bind9 \ && apt-get clean diff --git a/docker/designate/designate-base/Dockerfile.j2 b/docker/designate/designate-base/Dockerfile.j2 index 160642cd1f..bef8f44270 100644 --- a/docker/designate/designate-base/Dockerfile.j2 +++ b/docker/designate/designate-base/Dockerfile.j2 @@ -19,7 +19,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ designate-common \ python-tooz \ && apt-get clean diff --git a/docker/designate/designate-central/Dockerfile.j2 b/docker/designate/designate-central/Dockerfile.j2 index 9828da3fa2..01aa6e7817 100644 --- a/docker/designate/designate-central/Dockerfile.j2 +++ b/docker/designate/designate-central/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu']%} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ designate-central \ && apt-get clean diff --git a/docker/designate/designate-mdns/Dockerfile.j2 b/docker/designate/designate-mdns/Dockerfile.j2 index f8e1270d41..d5c9173991 100644 --- a/docker/designate/designate-mdns/Dockerfile.j2 +++ b/docker/designate/designate-mdns/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ designate-mdns \ && apt-get clean diff --git a/docker/designate/designate-poolmanager/Dockerfile.j2 b/docker/designate/designate-poolmanager/Dockerfile.j2 index 8e3d682127..f8ac0c9ac2 100644 --- a/docker/designate/designate-poolmanager/Dockerfile.j2 +++ b/docker/designate/designate-poolmanager/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ bind9 \ designate-pool-manager \ && apt-get clean diff --git a/docker/designate/designate-sink/Dockerfile.j2 b/docker/designate/designate-sink/Dockerfile.j2 index daa271266d..0a419e4259 100644 --- a/docker/designate/designate-sink/Dockerfile.j2 +++ b/docker/designate/designate-sink/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ designate-sink \ designateclient \ && apt-get clean diff --git a/docker/dind/Dockerfile.j2 b/docker/dind/Dockerfile.j2 index db46ea9c56..9a9f697c1f 100644 --- a/docker/dind/Dockerfile.j2 +++ b/docker/dind/Dockerfile.j2 @@ -13,7 +13,7 @@ RUN /bin/true RUN echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list \ && apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D \ && apt-get update \ - && apt-get install -y --no-install-recommends \ + && apt-get -y install --no-install-recommends \ btrfs-tools \ docker-engine=1.8.2-0~trusty \ openssh-server \ diff --git a/docker/elasticsearch/Dockerfile.j2 b/docker/elasticsearch/Dockerfile.j2 index afa3027752..84904f9894 100644 --- a/docker/elasticsearch/Dockerfile.j2 +++ b/docker/elasticsearch/Dockerfile.j2 @@ -14,7 +14,7 @@ RUN yum -y install \ ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64/ -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openjdk-7-jre \ elasticsearch \ && apt-get clean diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2 index c1f3519f9e..1de814fe0a 100644 --- a/docker/glance/glance-base/Dockerfile.j2 +++ b/docker/glance/glance-base/Dockerfile.j2 @@ -13,7 +13,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ glance \ python-rbd \ python-rados \ @@ -32,7 +32,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ python-rbd \ python-rados \ && apt-get clean \ diff --git a/docker/gnocchi/gnocchi-base/Dockerfile.j2 b/docker/gnocchi/gnocchi-base/Dockerfile.j2 index 9e8dfff768..f478ae5a2f 100644 --- a/docker/gnocchi/gnocchi-base/Dockerfile.j2 +++ b/docker/gnocchi/gnocchi-base/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif install_type == 'source' %} {% if base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends libpq-dev \ +RUN apt-get -y install --no-install-recommends libpq-dev \ && apt-get clean {% endif %} diff --git a/docker/haproxy/Dockerfile.j2 b/docker/haproxy/Dockerfile.j2 index d219696293..cade3b26cf 100644 --- a/docker/haproxy/Dockerfile.j2 +++ b/docker/haproxy/Dockerfile.j2 @@ -9,7 +9,7 @@ RUN yum -y install \ {% elif base_distro in ['debian', 'ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ haproxy \ && apt-get clean diff --git a/docker/heat/heat-api-cfn/Dockerfile.j2 b/docker/heat/heat-api-cfn/Dockerfile.j2 index aadd8b6c78..0656947344 100644 --- a/docker/heat/heat-api-cfn/Dockerfile.j2 +++ b/docker/heat/heat-api-cfn/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ heat-api-cfn \ && apt-get clean diff --git a/docker/heat/heat-api/Dockerfile.j2 b/docker/heat/heat-api/Dockerfile.j2 index afa291f384..990d8df513 100644 --- a/docker/heat/heat-api/Dockerfile.j2 +++ b/docker/heat/heat-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ heat-api \ && apt-get clean diff --git a/docker/heat/heat-base/Dockerfile.j2 b/docker/heat/heat-base/Dockerfile.j2 index e7507a66c2..0085eb545e 100644 --- a/docker/heat/heat-base/Dockerfile.j2 +++ b/docker/heat/heat-base/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ heat-common \ && apt-get clean diff --git a/docker/heat/heat-engine/Dockerfile.j2 b/docker/heat/heat-engine/Dockerfile.j2 index 9ec1167c99..4c7335f682 100644 --- a/docker/heat/heat-engine/Dockerfile.j2 +++ b/docker/heat/heat-engine/Dockerfile.j2 @@ -14,7 +14,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ heat-engine \ && apt-get clean diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index 0bab8da56d..f664c5d3a8 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -22,7 +22,7 @@ RUN sed -i "s|WEBROOT = '/dashboard/'|WEBROOT = '/'|" /etc/openstack-dashboard/l {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openstack-dashboard \ apache2 \ libapache2-mod-wsgi \ @@ -54,7 +54,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ apache2 \ libapache2-mod-wsgi \ && echo > /etc/apache2/ports.conf \ diff --git a/docker/ironic/ironic-api/Dockerfile.j2 b/docker/ironic/ironic-api/Dockerfile.j2 index a3f10b332d..426e8674d7 100644 --- a/docker/ironic/ironic-api/Dockerfile.j2 +++ b/docker/ironic/ironic-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ironic-api \ && apt-get clean diff --git a/docker/ironic/ironic-base/Dockerfile.j2 b/docker/ironic/ironic-base/Dockerfile.j2 index 8447f92fff..a732ca479e 100644 --- a/docker/ironic/ironic-base/Dockerfile.j2 +++ b/docker/ironic/ironic-base/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ironic-common \ && apt-get clean diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2 index cd16a2ea25..ea26296e3d 100644 --- a/docker/ironic/ironic-conductor/Dockerfile.j2 +++ b/docker/ironic/ironic-conductor/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ironic-conductor \ qemu-utils \ ipmitool \ @@ -28,7 +28,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ qemu-utils \ ipmitool \ && apt-get clean diff --git a/docker/ironic/ironic-pxe/Dockerfile.j2 b/docker/ironic/ironic-pxe/Dockerfile.j2 index bda9a9bdd7..317acc65ea 100644 --- a/docker/ironic/ironic-pxe/Dockerfile.j2 +++ b/docker/ironic/ironic-pxe/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ tftpd-hpa \ syslinux-common \ syslinux \ diff --git a/docker/iscsid/Dockerfile.j2 b/docker/iscsid/Dockerfile.j2 index 8ae2049d12..7c38ad79c8 100644 --- a/docker/iscsid/Dockerfile.j2 +++ b/docker/iscsid/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ open-iscsi \ targetcli \ python-rtslib \ diff --git a/docker/keepalived/Dockerfile.j2 b/docker/keepalived/Dockerfile.j2 index abe235bb2b..0f938440dc 100644 --- a/docker/keepalived/Dockerfile.j2 +++ b/docker/keepalived/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ keepalived \ socat \ && apt-get clean diff --git a/docker/keystone/Dockerfile.j2 b/docker/keystone/Dockerfile.j2 index 65b1eab636..d8954fbbae 100644 --- a/docker/keystone/Dockerfile.j2 +++ b/docker/keystone/Dockerfile.j2 @@ -17,7 +17,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ keystone \ apache2 \ libapache2-mod-wsgi \ @@ -40,7 +40,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ apache2 \ libapache2-mod-wsgi \ && echo > /etc/apache2/ports.conf \ diff --git a/docker/kibana/Dockerfile.j2 b/docker/kibana/Dockerfile.j2 index 7647866a07..10da65601d 100644 --- a/docker/kibana/Dockerfile.j2 +++ b/docker/kibana/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ kibana \ && apt-get clean diff --git a/docker/manila/manila-api/Dockerfile.j2 b/docker/manila/manila-api/Dockerfile.j2 index 88269d2c84..f6eee14863 100644 --- a/docker/manila/manila-api/Dockerfile.j2 +++ b/docker/manila/manila-api/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ manila-api \ && apt-get clean diff --git a/docker/manila/manila-base/Dockerfile.j2 b/docker/manila/manila-base/Dockerfile.j2 index d971b7c86f..893c10ac98 100644 --- a/docker/manila/manila-base/Dockerfile.j2 +++ b/docker/manila/manila-base/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ manila-common \ openvswitch-switch \ && apt-get clean @@ -26,7 +26,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openvswitch-switch \ && apt-get clean diff --git a/docker/manila/manila-scheduler/Dockerfile.j2 b/docker/manila/manila-scheduler/Dockerfile.j2 index 2fd2f0a695..0e99353a06 100644 --- a/docker/manila/manila-scheduler/Dockerfile.j2 +++ b/docker/manila/manila-scheduler/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ manila-scheduler \ && apt-get clean diff --git a/docker/mariadb/Dockerfile.j2 b/docker/mariadb/Dockerfile.j2 index 84f591d925..5fbf4192f2 100644 --- a/docker/mariadb/Dockerfile.j2 +++ b/docker/mariadb/Dockerfile.j2 @@ -19,7 +19,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ mariadb-galera-server \ percona-xtrabackup \ socat \ diff --git a/docker/memcached/Dockerfile.j2 b/docker/memcached/Dockerfile.j2 index 73972a6e23..0b89df10f4 100644 --- a/docker/memcached/Dockerfile.j2 +++ b/docker/memcached/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} {% set user = 'memcache' %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ memcached \ && apt-get clean \ && usermod -a -G kolla {{ user }} diff --git a/docker/mongodb/Dockerfile.j2 b/docker/mongodb/Dockerfile.j2 index 7e118018f0..4593bbd638 100644 --- a/docker/mongodb/Dockerfile.j2 +++ b/docker/mongodb/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ mongodb-server \ && apt-get clean diff --git a/docker/murano/murano-api/Dockerfile.j2 b/docker/murano/murano-api/Dockerfile.j2 index 76b23f9390..b8e1576748 100644 --- a/docker/murano/murano-api/Dockerfile.j2 +++ b/docker/murano/murano-api/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ murano-api \ && apt-get clean diff --git a/docker/murano/murano-base/Dockerfile.j2 b/docker/murano/murano-base/Dockerfile.j2 index 26fc7618ea..6201fb0709 100644 --- a/docker/murano/murano-base/Dockerfile.j2 +++ b/docker/murano/murano-base/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ murano-common \ && apt-get clean diff --git a/docker/murano/murano-engine/Dockerfile.j2 b/docker/murano/murano-engine/Dockerfile.j2 index c3a1557ec0..33342cb963 100644 --- a/docker/murano/murano-engine/Dockerfile.j2 +++ b/docker/murano/murano-engine/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ murano-engine \ && apt-get clean diff --git a/docker/neutron/neutron-base/Dockerfile.j2 b/docker/neutron/neutron-base/Dockerfile.j2 index f8a9f9f5b6..12825c9bc7 100644 --- a/docker/neutron/neutron-base/Dockerfile.j2 +++ b/docker/neutron/neutron-base/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ neutron-plugin-ml2 \ neutron-server \ openvswitch-switch \ @@ -35,7 +35,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ arping \ conntrack \ dnsmasq \ diff --git a/docker/neutron/neutron-dhcp-agent/Dockerfile.j2 b/docker/neutron/neutron-dhcp-agent/Dockerfile.j2 index ea5ede23cc..45eb8f737a 100644 --- a/docker/neutron/neutron-dhcp-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-dhcp-agent/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['ubuntu', 'debian'] %} {% if install_type == 'binary' %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ neutron-dhcp-agent \ && apt-get clean diff --git a/docker/neutron/neutron-l3-agent/Dockerfile.j2 b/docker/neutron/neutron-l3-agent/Dockerfile.j2 index be3087d537..a3edef6af0 100644 --- a/docker/neutron/neutron-l3-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-l3-agent/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['ubuntu', 'debian'] %} {% if install_type == 'binary' %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ neutron-l3-agent \ && apt-get clean diff --git a/docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2 b/docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2 index 2e9c47638a..2d968b6a87 100644 --- a/docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-linuxbridge-agent/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ebtables \ neutron-plugin-linuxbridge-agent \ && apt-get clean @@ -28,7 +28,7 @@ RUN yum -y install \ && yum clean all {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y \ +RUN apt-get -y install \ ebtables \ bridge-utils \ && apt-get clean diff --git a/docker/neutron/neutron-metadata-agent/Dockerfile.j2 b/docker/neutron/neutron-metadata-agent/Dockerfile.j2 index 141696b9cc..99c9c6feeb 100644 --- a/docker/neutron/neutron-metadata-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-metadata-agent/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['ubuntu', 'debian'] %} {% if install_type == 'binary' %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ neutron-metadata-agent \ && apt-get clean diff --git a/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 b/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 index ceb15e1a54..f943543d96 100644 --- a/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 +++ b/docker/neutron/neutron-openvswitch-agent/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openvswitch-switch \ neutron-plugin-openvswitch-agent \ && apt-get clean diff --git a/docker/nova/nova-api/Dockerfile.j2 b/docker/nova/nova-api/Dockerfile.j2 index 4d127ff78e..485efb1d1d 100644 --- a/docker/nova/nova-api/Dockerfile.j2 +++ b/docker/nova/nova-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-api \ python-memcache \ && apt-get clean diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2 index 80b1e6b317..f0d18e3d76 100644 --- a/docker/nova/nova-base/Dockerfile.j2 +++ b/docker/nova/nova-base/Dockerfile.j2 @@ -14,7 +14,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-common \ python-nova \ bridge-utils \ @@ -32,7 +32,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ iptables \ ebtables \ dnsmasq \ diff --git a/docker/nova/nova-compute-ironic/Dockerfile.j2 b/docker/nova/nova-compute-ironic/Dockerfile.j2 index f8c9c518d6..268cb67108 100644 --- a/docker/nova/nova-compute-ironic/Dockerfile.j2 +++ b/docker/nova/nova-compute-ironic/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-compute \ && apt-get clean diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index 72709cd945..8e81f725db 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -18,7 +18,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} # ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388 -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-compute \ openvswitch-switch \ sysfsutils \ @@ -50,7 +50,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ libvirt-dev \ qemu-utils \ ceph-common \ diff --git a/docker/nova/nova-conductor/Dockerfile.j2 b/docker/nova/nova-conductor/Dockerfile.j2 index 0a11d8c814..e53ba7e8f2 100644 --- a/docker/nova/nova-conductor/Dockerfile.j2 +++ b/docker/nova/nova-conductor/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-conductor \ && apt-get clean diff --git a/docker/nova/nova-consoleauth/Dockerfile.j2 b/docker/nova/nova-consoleauth/Dockerfile.j2 index be33edc09f..c2c04783bf 100644 --- a/docker/nova/nova-consoleauth/Dockerfile.j2 +++ b/docker/nova/nova-consoleauth/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-consoleauth \ python-memcache \ && apt-get clean diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index 65f3dedf6e..cc48d03636 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -17,7 +17,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ceph-common \ libvirt-bin \ dmidecode \ diff --git a/docker/nova/nova-network/Dockerfile.j2 b/docker/nova/nova-network/Dockerfile.j2 index f956aaa726..6b78b8ba47 100644 --- a/docker/nova/nova-network/Dockerfile.j2 +++ b/docker/nova/nova-network/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-network \ && apt-get clean diff --git a/docker/nova/nova-novncproxy/Dockerfile.j2 b/docker/nova/nova-novncproxy/Dockerfile.j2 index 90d6934a60..ee1d6bf68e 100644 --- a/docker/nova/nova-novncproxy/Dockerfile.j2 +++ b/docker/nova/nova-novncproxy/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-novncproxy \ && apt-get clean diff --git a/docker/nova/nova-scheduler/Dockerfile.j2 b/docker/nova/nova-scheduler/Dockerfile.j2 index 57ba7ca63c..ba6a3bf90f 100644 --- a/docker/nova/nova-scheduler/Dockerfile.j2 +++ b/docker/nova/nova-scheduler/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-scheduler \ && apt-get clean diff --git a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 index 09d25fe207..2033e24cff 100644 --- a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 +++ b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ nova-spiceproxy \ && apt-get clean diff --git a/docker/nova/nova-ssh/Dockerfile.j2 b/docker/nova/nova-ssh/Dockerfile.j2 index 7bc859ef1b..132bd8f859 100644 --- a/docker/nova/nova-ssh/Dockerfile.j2 +++ b/docker/nova/nova-ssh/Dockerfile.j2 @@ -9,7 +9,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openssh-server \ && apt-get clean \ && mkdir -p /var/run/sshd \ diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index 4a1c5f4fc2..74d691a2d3 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -158,7 +158,7 @@ RUN yum -y install \ # This will prevent questions from being asked during the install ENV DEBIAN_FRONTEND noninteractive # There is no python-tuskarclient in ubuntu 14.04 -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ python-barbicanclient \ python-ceilometerclient \ python-congressclient \ @@ -204,7 +204,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ ca-certificates \ build-essential \ python-dev \ diff --git a/docker/openvswitch/openvswitch-base/Dockerfile.j2 b/docker/openvswitch/openvswitch-base/Dockerfile.j2 index 6d50d6c630..558339baf8 100644 --- a/docker/openvswitch/openvswitch-base/Dockerfile.j2 +++ b/docker/openvswitch/openvswitch-base/Dockerfile.j2 @@ -9,7 +9,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ openvswitch-switch \ && apt-get clean diff --git a/docker/rabbitmq/Dockerfile.j2 b/docker/rabbitmq/Dockerfile.j2 index 1555500113..444de9caca 100644 --- a/docker/rabbitmq/Dockerfile.j2 +++ b/docker/rabbitmq/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ rabbitmq-server \ && apt-get clean diff --git a/docker/swift/swift-account/Dockerfile.j2 b/docker/swift/swift-account/Dockerfile.j2 index 0d418dfbc9..72a609c24a 100644 --- a/docker/swift/swift-account/Dockerfile.j2 +++ b/docker/swift/swift-account/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ swift-account \ && apt-get clean diff --git a/docker/swift/swift-base/Dockerfile.j2 b/docker/swift/swift-base/Dockerfile.j2 index a4bd69f9ca..50e4d49682 100644 --- a/docker/swift/swift-base/Dockerfile.j2 +++ b/docker/swift/swift-base/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ swift \ && apt-get clean @@ -24,7 +24,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ liberasurecode-dev \ && apt-get clean diff --git a/docker/swift/swift-container/Dockerfile.j2 b/docker/swift/swift-container/Dockerfile.j2 index 90d240d53e..1e56d6a015 100644 --- a/docker/swift/swift-container/Dockerfile.j2 +++ b/docker/swift/swift-container/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ swift-container \ && apt-get clean diff --git a/docker/swift/swift-object/Dockerfile.j2 b/docker/swift/swift-object/Dockerfile.j2 index 3a55e901e8..0c88d18ce7 100644 --- a/docker/swift/swift-object/Dockerfile.j2 +++ b/docker/swift/swift-object/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ swift-object \ && apt-get clean diff --git a/docker/swift/swift-proxy-server/Dockerfile.j2 b/docker/swift/swift-proxy-server/Dockerfile.j2 index 71481aa22f..22e53b8450 100644 --- a/docker/swift/swift-proxy-server/Dockerfile.j2 +++ b/docker/swift/swift-proxy-server/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ swift-proxy \ && apt-get clean diff --git a/docker/swift/swift-rsyncd/Dockerfile.j2 b/docker/swift/swift-rsyncd/Dockerfile.j2 index c2061c7741..4cb8b7fce1 100644 --- a/docker/swift/swift-rsyncd/Dockerfile.j2 +++ b/docker/swift/swift-rsyncd/Dockerfile.j2 @@ -9,7 +9,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ rsync \ && apt-get clean diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2 index 0d7eee9424..dc7a04f7b8 100644 --- a/docker/tempest/Dockerfile.j2 +++ b/docker/tempest/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ tempest \ && apt-get clean diff --git a/docker/tgtd/Dockerfile.j2 b/docker/tgtd/Dockerfile.j2 index 716d630ff3..fbf21ec189 100644 --- a/docker/tgtd/Dockerfile.j2 +++ b/docker/tgtd/Dockerfile.j2 @@ -11,7 +11,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ tgt \ && apt-get clean diff --git a/docker/trove/trove-api/Dockerfile.j2 b/docker/trove/trove-api/Dockerfile.j2 index bf6da5291d..05193afa8a 100644 --- a/docker/trove/trove-api/Dockerfile.j2 +++ b/docker/trove/trove-api/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ trove-api \ && apt-get clean diff --git a/docker/trove/trove-base/Dockerfile.j2 b/docker/trove/trove-base/Dockerfile.j2 index d6702a39f4..8edc655ac8 100644 --- a/docker/trove/trove-base/Dockerfile.j2 +++ b/docker/trove/trove-base/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ trove-common \ && apt-get clean diff --git a/docker/trove/trove-conductor/Dockerfile.j2 b/docker/trove/trove-conductor/Dockerfile.j2 index 0816c35c98..fd734f7162 100644 --- a/docker/trove/trove-conductor/Dockerfile.j2 +++ b/docker/trove/trove-conductor/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ trove-conductor \ && apt-get clean diff --git a/docker/trove/trove-guestagent/Dockerfile.j2 b/docker/trove/trove-guestagent/Dockerfile.j2 index 65770560e2..b3ad099163 100644 --- a/docker/trove/trove-guestagent/Dockerfile.j2 +++ b/docker/trove/trove-guestagent/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ trove-guestagent \ && apt-get clean diff --git a/docker/trove/trove-taskmanager/Dockerfile.j2 b/docker/trove/trove-taskmanager/Dockerfile.j2 index 025241a610..68667196c0 100644 --- a/docker/trove/trove-taskmanager/Dockerfile.j2 +++ b/docker/trove/trove-taskmanager/Dockerfile.j2 @@ -10,7 +10,7 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu'] %} -RUN apt-get install -y --no-install-recommends \ +RUN apt-get -y install --no-install-recommends \ trove-taskmanager \ && apt-get clean diff --git a/tools/setup_Debian.sh b/tools/setup_Debian.sh index 7c9d9578fd..0855c89a79 100755 --- a/tools/setup_Debian.sh +++ b/tools/setup_Debian.sh @@ -51,7 +51,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list add_key sudo apt-get update -sudo apt-get install -y --no-install-recommends docker-engine btrfs-tools +sudo apt-get -y install --no-install-recommends docker-engine btrfs-tools sudo service docker stop setup_disk