From a2ca551b15f506fa418f63cf9002524ab4937f40 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 19 Mar 2019 09:55:08 +0100 Subject: lava-xxx-base: do not install recommended packages For limiting size of docker images, do not install recommended packages --- lava-master-base/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lava-master-base/Dockerfile') diff --git a/lava-master-base/Dockerfile b/lava-master-base/Dockerfile index fc7471a..ee7d47f 100644 --- a/lava-master-base/Dockerfile +++ b/lava-master-base/Dockerfile @@ -12,6 +12,8 @@ RUN echo 'lava-server lava-server/instance-name string lava-docker-instance' | && echo 'locales locales/locales_to_be_generated multiselect C.UTF-8 UTF-8, en_US.UTF-8 UTF-8 ' | debconf-set-selections \ && echo 'locales locales/default_environment_locale select en_US.UTF-8' | debconf-set-selections +RUN echo "APT::Install-Recommends false;" > /etc/apt/apt.conf.d/01norecommands + # e2fsprogs is for libguestfs RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \ locales \ -- cgit 1.2.3-korg