feat: add support for rocky linux and almalinux

This commit is contained in:
Rudra Saraswat 2023-05-17 10:32:22 +05:30
parent a64915afa8
commit 0eb49c1412
3 changed files with 6 additions and 0 deletions

2
blend
View file

@ -88,12 +88,14 @@ def error(err):
distro_map = { distro_map = {
'arch': 'docker.io/library/archlinux', 'arch': 'docker.io/library/archlinux',
'almalinux-9': 'quay.io/almalinux/almalinux:9',
'crystal-linux': 'registry.getcryst.al/crystal/misc/docker:latest', 'crystal-linux': 'registry.getcryst.al/crystal/misc/docker:latest',
'debian': 'docker.io/library/debian:latest', 'debian': 'docker.io/library/debian:latest',
'fedora-rawhide': 'docker.io/library/fedora:rawhide', 'fedora-rawhide': 'docker.io/library/fedora:rawhide',
'kali-linux-rolling': 'docker.io/kalilinux/kali-rolling', 'kali-linux-rolling': 'docker.io/kalilinux/kali-rolling',
'manjaro-linux': 'docker.io/manjarolinux/base:latest', 'manjaro-linux': 'docker.io/manjarolinux/base:latest',
'neurodebian-bookworm': 'docker.io/library/neurodebian:nd120', 'neurodebian-bookworm': 'docker.io/library/neurodebian:nd120',
'rocky-linux-9': 'docker.io/rockylinux/rockylinux:9',
'ubuntu-22.04': 'docker.io/library/ubuntu:22.04', 'ubuntu-22.04': 'docker.io/library/ubuntu:22.04',
'ubuntu-23.04': 'docker.io/library/ubuntu:23.04' 'ubuntu-23.04': 'docker.io/library/ubuntu:23.04'
} }

View file

@ -11,12 +11,14 @@
<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</option>
<option>AlmaLinux 9</option>
<option>Crystal Linux</option> <option>Crystal Linux</option>
<option>Debian</option> <option>Debian</option>
<option>Fedora Rawhide</option> <option>Fedora Rawhide</option>
<option>Kali Linux Rolling</option> <option>Kali Linux Rolling</option>
<option>Manjaro Linux</option> <option>Manjaro Linux</option>
<option>Neurodebian Bookworm</option> <option>Neurodebian Bookworm</option>
<option>Rocky Linux 9</option>
<option>Ubuntu 22.04</option> <option>Ubuntu 22.04</option>
<option>Ubuntu 23.04</option> <option>Ubuntu 23.04</option>
</select> </select>

View file

@ -120,6 +120,8 @@ elif command -v pacman &>/dev/null; then
mesa opengl-driver vulkan-intel vulkan-radeon base-devel git inotify-tools &>/dev/null mesa opengl-driver vulkan-intel vulkan-radeon base-devel git inotify-tools &>/dev/null
elif command -v dnf &>/dev/null; then elif command -v dnf &>/dev/null; then
dnf config-manager --set-enabled crb &>/dev/null
dnf install -y epel-release &>/dev/null
dnf install -y --allowerasing bash bc curl wget diffutils findutils dnf-plugins-core gnupg2 less lsof passwd pinentry \ dnf install -y --allowerasing bash bc curl wget diffutils findutils dnf-plugins-core gnupg2 less lsof passwd pinentry \
procps-ng vte-profile ncurses util-linux sudo time shadow-utils vulkan mesa-vulkan-drivers \ procps-ng vte-profile ncurses util-linux sudo time shadow-utils vulkan mesa-vulkan-drivers \
mesa-dri-drivers inotify-tools &>/dev/null mesa-dri-drivers inotify-tools &>/dev/null