From 315e1ab6833c0522be8fdb922b9608bff3db35db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 31 Jul 2019 22:20:34 +0300 Subject: [PATCH] Install the needed packages in docker images with --no-install-recommends This avoids installing a few unneeded ones, but requires manually picking ca-certificates instead. --- Dockerfile | 4 ++-- Dockerfile.dev | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1dcd60..412f4a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM ubuntu:16.04 -RUN apt-get update -qq && apt-get install -qqy \ +RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \ git wget bzip2 file unzip libtool pkg-config cmake build-essential \ automake yasm gettext autopoint vim python git-svn ninja-build \ - subversion && \ + subversion ca-certificates && \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/* diff --git a/Dockerfile.dev b/Dockerfile.dev index a2c1965..fc9180e 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,9 +1,9 @@ FROM ubuntu:16.04 -RUN apt-get update -qq && apt-get install -qqy \ +RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \ git wget bzip2 file unzip libtool pkg-config cmake build-essential \ automake yasm gettext autopoint vim python git-svn ninja-build \ - subversion && \ + subversion ca-certificates && \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/*