Debian / Arch

This commit is contained in:
Thomas Forgione 2025-05-03 00:08:14 +02:00
parent a94894652b
commit 8666527ddc
2 changed files with 11 additions and 6 deletions

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash
debian() {
docker build . --tag debian-user --debug
docker build . --tag debian-user --target debian-user --debug
docker container run -it debian-user bash
}
archlinux() {
docker build . --tag archlinux-user --debug
docker build . --tag archlinux-user --target archlinux-user --debug
docker container run -it archlinux-user bash
}

View File

@ -226,9 +226,14 @@ run() {
fi
if [ $should_install_rust -eq 1 ]; then
if [ $has_apt -eq 1 ]; then
packages+=(build-essential)
packages+=(pkg-config)
packages+=(libssl-dev)
elif [ $has_pacman -eq 1 ]; then
packages+=(base)
packages+=(base-devel)
fi
fi
if [ $should_install_python ]; then
@ -239,8 +244,8 @@ run() {
packages+=(python3-pip)
elif [ $has_pacman -eq 1 ]; then
packages+=(python)
fi
fi
if [ $should_install_hyprland -eq 1 ]; then