forked from ublue-os/bluefin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bluefin-cli): introduce .brew_pkgs (ublue-os#703)
- Loading branch information
Showing
4 changed files
with
68 additions
and
3 deletions.
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
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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
FROM ghcr.io/homebrew/brew | ||
# From https://github.com/toolbx-images/images/tree/main/ubuntu/22.04 | ||
# From https://github.com/Homebrew/brew/pkgs/container/brew | ||
|
||
LABEL com.github.containers.toolbox="true" \ | ||
usage="This image is meant to be used with the toolbox or distrobox command" \ | ||
summary="The Bluefin Command Line experience" \ | ||
maintainer="[email protected]" | ||
|
||
COPY ./toolboxes/packages.bluefin-cli /toolbox-packages | ||
COPY ./toolboxes/brew_script.bluefin-cli /etc/profiles.d/brew_pkgs.sh | ||
|
||
USER root | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
$(cat toolbox-packages | xargs) && \ | ||
$(cat /toolbox-packages | xargs) && \ | ||
rm -rd /var/lib/apt/lists/* | ||
|
||
RUN rm /toolbox-packages | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
if [ ! -f /home/linuxbrew/.firstrun ]; then | ||
touch /home/linuxbrew/.firstrun | ||
# `brew update-reset` is currently needed | ||
# because somekind of issue with brew | ||
brew update-reset | ||
xargs brew install < "${HOME}"/"${BREW_PKGS}" | ||
fi |
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 |
---|---|---|
@@ -1 +1,47 @@ | ||
# Do we need anything in here? | ||
bash | ||
apt-utils | ||
bash-completion | ||
bc | ||
bzip2 | ||
curl | ||
dialog | ||
diffutils | ||
findutils | ||
gnupg | ||
gnupg2 | ||
gpgsm | ||
hostname | ||
iproute2 | ||
iputils-ping | ||
less | ||
locales | ||
lsof | ||
man-db | ||
manpages | ||
ncurses-base | ||
nano | ||
openssh-client | ||
passwd | ||
pigz | ||
pinentry-curses | ||
procps | ||
rsync | ||
sudo | ||
tcpdump | ||
time | ||
traceroute | ||
tree | ||
tzdata | ||
unzip | ||
util-linux | ||
wget | ||
xauth | ||
xz-utils | ||
zip | ||
libgl1 | ||
libegl1-mesa | ||
libgl1-mesa-glx | ||
libegl1 | ||
libglx-mesa0 | ||
libvulkan1 | ||
mesa-vulkan-drivers |