From 044de41a9a9e03b53a674b53a8068804f3453bb7 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Fri, 14 Oct 2022 10:07:37 +0200 Subject: [PATCH] Dockerfile: adds a comment about the installation on the downstream layers The install package list are actually taking 1:1 from their documentation, so there some packages that can already installed by other downstream layers. This will not change any image sizes on all the layers in use. Signed-off-by: Jose Quaresma Signed-off-by: Jan Kiszka --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7de1719..48e2efc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,9 @@ ENTRYPOINT ["/kas/container-entrypoint"] FROM kas-base as kas-isar +# The install package list are actually taking 1:1 from their documentation, +# so there some packages that can already installed by other downstream layers. +# This will not change any image sizes on all the layers in use. ENV LC_ALL=en_US.UTF-8 RUN apt-get update && \ apt-get install -y -f --no-install-recommends \ @@ -51,6 +54,9 @@ RUN sed -i 's|#!/bin/bash|\0\n\nupdate-binfmts --enable \&\& [ -f /proc/sys/fs/b FROM kas-base as kas +# The install package list are actually taking 1:1 from their documentation, +# so there some packages that can already installed by other downstream layers. +# This will not change any image sizes on all the layers in use. RUN apt-get update && \ apt-get install --no-install-recommends -y \ gawk wget git diffstat unzip texinfo \