summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2019-12-11 20:17:56 +0100
committerJernej Jakob <jernej.jakob@gmail.com>2019-12-20 10:32:54 +0100
commit9266d923742d34375338ae11e2c7d7d8da23f106 (patch)
tree0d4b0a0e40d243e7935c90e8884ff0c2851bc186 /docker
parent62263272f2f1002285b0d7b5033e8c4302c81e5a (diff)
downloadvyos-build-9266d923742d34375338ae11e2c7d7d8da23f106.tar.gz
vyos-build-9266d923742d34375338ae11e2c7d7d8da23f106.zip
T1892: docker: do not install recommended packages
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 40d1fd53..d8c8abe5 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 \