Skip to content

Commit

Permalink
fix: update Containerfile.toolbox (#213)
Browse files Browse the repository at this point in the history
Co-authored-by: Primož Ajdišek <[email protected]>
  • Loading branch information
castrojo and bigpod98 authored May 3, 2023
1 parent 30a927c commit bde663d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Containerfile.toolbox
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bde663d

Please sign in to comment.