From b8c2e1a03d5fb5892e663892d5af9f8cd32f2934 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Thu, 27 May 2021 10:01:35 -0700 Subject: [PATCH] Dockerfile: apt install with --no-install-recommends --- Dockerfile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.in b/Dockerfile.in index eaf6b41..8878d35 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -53,12 +53,13 @@ RUN echo "deb http://deb.debian.org/debian/ buster-backports main contrib" > \ /etc/apt/sources.list.d/backports.list RUN apt-get update RUN apt-get -y upgrade -RUN apt-get -y install \ +RUN apt-get -y install --no-install-recommends \ ca-certificates \ coreutils \ socat \ openssh-client -RUN apt-get -y -t buster-backports install git +RUN apt-get -y -t buster-backports install --no-install-recommends \ + git RUN rm -rf /var/lib/apt/lists/* # By default we will run as this user...