summaryrefslogtreecommitdiffstats
path: root/lava-master-base/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-03-19 09:55:08 +0100
committerCorentin LABBE <clabbe@baylibre.com>2019-03-19 09:55:08 +0100
commita2ca551b15f506fa418f63cf9002524ab4937f40 (patch)
treedf77d16ab559f0371ce99dc5fe91de32ef211ed0 /lava-master-base/Dockerfile
parent2ef40504a0d5dac643b643271f21a6a07adb3e8e (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/Dockerfile')
-rw-r--r--lava-master-base/Dockerfile2
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 \