Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
fix: copy toolbox-packages file during build (ublue-os#204)
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge O. Castro <[email protected]>
  • Loading branch information
p5 and castrojo authored Apr 30, 2023
1 parent 8ae4420 commit 35e335a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Containerfile.toolbox
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ LABEL com.github.containers.toolbox="true" \
summary="A cloud-native terminal experience" \
maintainer="[email protected]"

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 && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
$(cat extra-packages | xargs) && \
$(cat /toolbox-packages) && \
rm -rd /var/lib/apt/lists/*

RUN rm /toolbox-packages
Expand Down

0 comments on commit 35e335a

Please sign in to comment.