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
This commit is contained in:
parent
0dbf3e2e11
commit
7624e56c34
@ -2,12 +2,12 @@ FROM ubuntu:trusty
|
|||||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
RUN apt-get update \
|
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 \
|
&& add-apt-repository cloud-archive:kilo \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get dist-upgrade -y \
|
&& apt-get dist-upgrade -y \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y --no-install-recommends \
|
||||||
crudini \
|
crudini \
|
||||||
openssl \
|
openssl \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
Loading…
Reference in New Issue
Block a user