diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-20 11:40:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 11:40:14 +0100 |
commit | 48dee98e07b12d82b8945e5c403b20066fe39a13 (patch) | |
tree | 1ab08e30ddde4c8ac7de061f9e49dbae5d003887 | |
parent | 62263272f2f1002285b0d7b5033e8c4302c81e5a (diff) | |
parent | bd75e32059346cf6a588a8a97d5b6270340ed917 (diff) | |
download | vyos-build-48dee98e07b12d82b8945e5c403b20066fe39a13.tar.gz vyos-build-48dee98e07b12d82b8945e5c403b20066fe39a13.zip |
Merge pull request #70 from jjakob/apt-no-recommends-current
T1892: docker: do not install recommended packages
-rw-r--r-- | docker/Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 40d1fd53..c5926709 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 \ @@ -82,7 +83,8 @@ RUN apt-get update && apt-get install -y \ # RUN apt-get update && apt-get install -y \ libffi-dev \ - libpcre3-dev + libpcre3-dev \ + unzip RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh \ --output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \ |