Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(init): Implement support for Wolfi #1192

Merged
merged 4 commits into from
Feb 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 30 additions & 20 deletions distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -415,63 +415,73 @@ if [ "${upgrade}" -ne 0 ] ||
if ! apk add "${shell_pkg}"; then
shell_pkg="bash"
fi
deps="
if apk add wolfi-base; then
Fixed Show fixed Hide fixed
EyeCantCU marked this conversation as resolved.
Show resolved Hide resolved
deps="
busybox
gnutar
man-db
mesa
posix-libc-utils
"
elif apk add alpine-base; then
Fixed Show fixed Hide fixed
deps="
bash-completion
docs
gcompat
libc-utils
lsof
man-pages
mandoc
musl-utils
pinentry
sudo
tar
vte3
which
$(apk search -q mesa-dri)
$(apk search -q mesa-vulkan)
"
fi
Fixed Show fixed Hide fixed
Fixed Show fixed Hide fixed
deps="${deps:-}
${shell_pkg}
alpine-base
bash
bash-completion
bc
bzip2
coreutils
curl
diffutils
docs
findmnt
findutils
gcompat
gnupg
gpg
iproute2
iputils
keyutils
less
libc-utils
libcap
lsof
man-pages
mandoc
mount
musl-utils
ncurses
ncurses-terminfo
net-tools
openssh-client
pigz
pinentry
posix-libc-utils
procps
rsync
shadow
su-exec
sudo
tar
tcpdump
tree
tzdata
umount
unzip
util-linux
util-linux-misc
util-linux-login
vte3
util-linux-misc
vulkan-loader
wget
which
xauth
xz
zip
$(apk search -q mesa-dri)
$(apk search -q mesa-vulkan)
vulkan-loader
"
install_pkg=""
for dep in ${deps}; do
Expand Down
Loading