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