diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-03-19 09:55:08 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2019-03-19 09:55:08 +0100 |
commit | a2ca551b15f506fa418f63cf9002524ab4937f40 (patch) | |
tree | df77d16ab559f0371ce99dc5fe91de32ef211ed0 /lava-master-base | |
parent | 2ef40504a0d5dac643b643271f21a6a07adb3e8e (diff) |
lava-xxx-base: do not install recommended packages
For limiting size of docker images, do not install recommended packages
Diffstat (limited to 'lava-master-base')
-rw-r--r-- | lava-master-base/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |