From c1a74b8596e680fff4fbadb7100df1ec4251af5a Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 19 Dec 2020 18:23:22 +0100 Subject: [PATCH] Add '--no-install-recommends' in Dockerfile It appears we can shave off some megabytes by including this satement when installing packages. I have not run into any issues with this yet, but this could potentially be a source of problems later. --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 2d1b610..57c221d 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainer="Jonas Alfredsson " RUN set -ex && \ # Install all necessary packages. apt-get update && \ - apt-get install -y \ + apt-get install -y --no-install-recommends \ build-essential \ curl \ libffi6 \