-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: copy toolbox-packages file during build (#204)
Co-authored-by: Jorge O. Castro <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|