diff options
| author | Michal Rostecki <michal.rostecki@allegrogroup.com> | 2015-07-01 11:07:37 +0200 |
|---|---|---|
| committer | Michal Rostecki <michal.rostecki@allegrogroup.com> | 2015-07-03 08:48:48 +0200 |
| commit | 7624e56c34d653a296f98a8e70c635ee783fed40 (patch) | |
| tree | f70c752c16da216c21ef8ede806e35496a1a342f /docker/ubuntu/binary | |
| parent | 0dbf3e2e1186ede177aa053ebc8c738d996d50ff (diff) | |
| download | kolla-7624e56c34d653a296f98a8e70c635ee783fed40.tar.gz kolla-7624e56c34d653a296f98a8e70c635ee783fed40.zip | |
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
Diffstat (limited to 'docker/ubuntu/binary')
| -rw-r--r-- | docker/ubuntu/binary/base/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/ubuntu/binary/base/Dockerfile b/docker/ubuntu/binary/base/Dockerfile index 56dbe6cb3..c48c3e32b 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 |
