From e2f48f4b4de9e45224295e5de611f369029e72db Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Wed, 3 May 2023 18:44:43 -0400 Subject: [PATCH 1/2] fix: update Containerfile.toolbox Fixes #212 --- Containerfile.toolbox | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Containerfile.toolbox b/Containerfile.toolbox index 6b9ead96480..3d4fc6f2ddc 100644 --- a/Containerfile.toolbox +++ b/Containerfile.toolbox @@ -8,17 +8,14 @@ LABEL com.github.containers.toolbox="true" \ COPY toolbox-packages /toolbox-packages -RUN sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/local/sbin/unminimize && \ - apt-get update && \ - yes | /usr/local/sbin/unminimize && \ +RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install \ $(cat toolbox-packages | xargs) && \ rm -rd /var/lib/apt/lists/* RUN rm /toolbox-packages -RUN ln -fs /bin/sh /usr/bin/sh && \ - ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ +RUN ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree From c8832e58d7301154d46a2ba5318d388036f98597 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Wed, 3 May 2023 18:57:36 -0400 Subject: [PATCH 2/2] Update Containerfile.toolbox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Primož Ajdišek --- Containerfile.toolbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile.toolbox b/Containerfile.toolbox index 3d4fc6f2ddc..30a62232c09 100644 --- a/Containerfile.toolbox +++ b/Containerfile.toolbox @@ -8,7 +8,7 @@ LABEL com.github.containers.toolbox="true" \ COPY toolbox-packages /toolbox-packages -RUN apt-get update && \ +RUN apt-get update && apt-get upgrade -y \ DEBIAN_FRONTEND=noninteractive apt-get -y install \ $(cat toolbox-packages | xargs) && \ rm -rd /var/lib/apt/lists/*