From 7624e56c34d653a296f98a8e70c635ee783fed40 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Wed, 1 Jul 2015 11:07:37 +0200 Subject: [PATCH] Add --no-install-recommends option to Ubuntu image Using "apt-get install" with --no-install-recommends option to avoid installing unnecessary packages. Change-Id: I0e86b317db834522bd5f348e275cd00888dee960 Closes-Bug: #1470415 --- docker/ubuntu/binary/base/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/ubuntu/binary/base/Dockerfile b/docker/ubuntu/binary/base/Dockerfile index 56dbe6cb3e..c48c3e32b2 100644 --- a/docker/ubuntu/binary/base/Dockerfile +++ b/docker/ubuntu/binary/base/Dockerfile @@ -2,12 +2,12 @@ FROM ubuntu:trusty MAINTAINER Kolla Project (https://launchpad.net/kolla) RUN apt-get update \ - && apt-get install -y software-properties-common \ + && apt-get install -y --no-install-recommends software-properties-common \ && add-apt-repository cloud-archive:kilo \ && apt-get update \ && apt-get upgrade -y \ && apt-get dist-upgrade -y \ - && apt-get install -y \ + && apt-get install -y --no-install-recommends \ crudini \ openssl \ && apt-get clean