feat: focus exclusively on core distros

This commit is contained in:
Rudra Saraswat 2024-02-09 21:45:59 +05:30
parent d467fe4fea
commit 30bce4aace
3 changed files with 10 additions and 43 deletions

19
blend
View file

@ -87,19 +87,14 @@ def error(err):
distro_map = { distro_map = {
'arch': 'docker.io/library/archlinux', 'arch-linux': 'docker.io/library/archlinux',
'almalinux-9': 'quay.io/almalinux/almalinux:9', 'debian': 'quay.io/toolbx-images/debian-toolbox:testing',
'crystal-linux': 'registry.getcryst.al/crystal/misc/docker:latest', 'fedora-39': 'registry.fedoraproject.org/fedora-toolbox:39',
'debian': 'docker.io/library/debian:latest', 'centos': 'quay.io/toolbx-images/centos-toolbox:latest',
'fedora-38': 'docker.io/library/fedora:38', 'ubuntu-22.04': 'quay.io/toolbx/ubuntu-toolbox:22.04',
'kali-linux': 'docker.io/kalilinux/kali-rolling',
'neurodebian-bookworm': 'docker.io/library/neurodebian:nd120',
'rocky-linux': 'docker.io/rockylinux/rockylinux:9',
'ubuntu-22.04': 'docker.io/library/ubuntu:22.04',
'ubuntu-23.04': 'docker.io/library/ubuntu:23.04'
} }
default_distro = 'arch' default_distro = 'arch-linux'
def get_distro(): def get_distro():
@ -152,7 +147,7 @@ def core_start_container(name, new_container=False):
'podman', args=['logs', '-f', '--since', str(start_time), name], timeout=300) 'podman', args=['logs', '-f', '--since', str(start_time), name], timeout=300)
logproc.logfile_read = sys.stdout.buffer logproc.logfile_read = sys.stdout.buffer
logproc.expect('Completed container setup.') logproc.expect('Started container.')
logproc.terminate() logproc.terminate()

View file

@ -10,16 +10,10 @@
</div> </div>
<div class="col-sm-4"> <div class="col-sm-4">
<select class="form-control" id="inputContainerDistro"> <select class="form-control" id="inputContainerDistro">
<option selected>Arch</option> <option selected>Arch Linux</option>
<option>AlmaLinux 9</option>
<option>Crystal Linux</option>
<option>Debian</option> <option>Debian</option>
<option>Fedora 38</option> <option>Fedora 39</option>
<option>Kali Linux</option>
<option>Neurodebian Bookworm</option>
<option>Rocky Linux</option>
<option>Ubuntu 22.04</option> <option>Ubuntu 22.04</option>
<option>Ubuntu 23.04</option>
</select> </select>
</div> </div>
<div class="col-sm-1"> <div class="col-sm-1">

View file

@ -62,29 +62,7 @@ while true; do
esac esac
done done
cat << 'EOF' echo 'Starting container... (this may take a few minutes)'
▄▄▄▄ ██▓ ▓█████ ███▄ █ ▓█████▄
▓█████▄ ▓██▒ ▓█ ▀ ██ ▀█ █ ▒██▀ ██▌
▒██▒ ▄██▒██░ ▒███ ▓██ ▀█ ██▒░██ █▌
▒██░█▀ ▒██░ ▒▓█ ▄ ▓██▒ ▐▌██▒░▓█▄ ▌
░▓█ ▀█▓░██████▒░▒████▒▒██░ ▓██░░▒████▓
░▒▓███▀▒░ ▒░▓ ░░░ ▒░ ░░ ▒░ ▒ ▒ ▒▒▓ ▒
▒░▒ ░ ░ ░ ▒ ░ ░ ░ ░░ ░░ ░ ▒░ ░ ▒ ▒
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░
░ ░
===================
Credits
===================
* NVIDIA driver support - Luca Di Maio (from Distrobox)
EOF
echo
echo 'Starting blend... (this may take a few minutes)'
echo echo
bmount() { bmount() {