From bde663d499e1b57cab7373e8d8b7c57d3b04490f Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Wed, 3 May 2023 19:04:48 -0400 Subject: [PATCH] fix: update Containerfile.toolbox (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Primož Ajdišek --- Containerfile.toolbox | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Containerfile.toolbox b/Containerfile.toolbox index 6b9ead96480..30a62232c09 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 && apt-get upgrade -y \ 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