From b911942883df7e66540465cbb638df5db26ce160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20Y=C3=BCcel?= Date: Fri, 23 Jun 2017 16:31:00 +0200 Subject: [PATCH] dont install (unneeded) recommended/suggested packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add python3-setuptools for pip3 installation Signed-off-by: Mustafa YĆ¼cel --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 348026c..db1e827 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,16 @@ FROM debian:jessie-slim ENV LOCALE=en_US.UTF-8 RUN apt-get update && \ - apt-get install -y locales && \ + apt-get install --no-install-recommends -y locales && \ sed -i -e "s/# $LOCALE.*/$LOCALE UTF-8/" /etc/locale.gen && \ dpkg-reconfigure --frontend=noninteractive locales && \ - apt-get -y install gawk wget git-core diffstat unzip \ + apt-get install --no-install-recommends -y \ + gawk wget git-core diffstat unzip file \ texinfo gcc-multilib build-essential \ - chrpath socat cpio python python3 \ + chrpath socat cpio python python3 rsync \ tar bzip2 curl dosfstools mtools parted \ syslinux tree python3-pip bc python3-yaml \ - lsb-release && \ + lsb-release python3-setuptools && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*