diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2019-12-11 20:17:56 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-26 16:38:32 +0100 |
commit | ae6653f13430f7e2af967650f662bba2d6ab2866 (patch) | |
tree | a2e47e68cc2727cbdb20aec260f2188c33718f89 /docker | |
parent | c82e353e08e2d6c1a453c8266fdb6356b8f2758d (diff) | |
download | vyos-build-ae6653f13430f7e2af967650f662bba2d6ab2866.tar.gz vyos-build-ae6653f13430f7e2af967650f662bba2d6ab2866.zip |
T1892: docker: do not install recommended packages
(cherry picked from commit 9266d923742d34375338ae11e2c7d7d8da23f106)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 7394434a..a3da5342 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,6 +25,8 @@ ENV DEBIAN_FRONTEND noninteractive RUN echo "dash dash/sh boolean false" | debconf-set-selections && \ dpkg-reconfigure dash +RUN echo -e 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01norecommends + RUN apt-get update && apt-get install -y \ dialog \ apt-utils \ @@ -37,15 +39,14 @@ RUN apt-get update && apt-get install -y \ vim \ git \ curl \ - make \ sudo \ mc \ + build-essential \ pbuilder \ devscripts \ squashfs-tools \ autoconf \ automake \ - dpkg-dev \ syslinux \ genisoimage \ lsb-release \ |