dont install nvidia driver

This commit is contained in:
Anders da Silva Rytter Hansen 2026-01-23 11:42:01 -03:00
commit 3d5a8203b5

View file

@ -1,7 +1,5 @@
FROM quay.io/almalinuxorg/atomic-desktop-kde:10 FROM quay.io/almalinuxorg/atomic-desktop-kde:10
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
COPY bin/set_next_version.sh /tmp COPY bin/set_next_version.sh /tmp
RUN /tmp/set_next_version.sh RUN /tmp/set_next_version.sh
@ -13,9 +11,6 @@ RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
# Install Negativo17 Nvidia driver
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver kernel-devel-matched
RUN dnf install -y $( \ RUN dnf install -y $( \
dnf list --available kernel\* --disablerepo='*' --enablerepo=my-ostree-os-rhel-epel,my-ostree-os-epel 2>/dev/null \ dnf list --available kernel\* --disablerepo='*' --enablerepo=my-ostree-os-rhel-epel,my-ostree-os-epel 2>/dev/null \
| grep 'andersdsrhcustom' \ | grep 'andersdsrhcustom' \
@ -26,8 +21,6 @@ RUN dnf install -y $( \
| sed 's/\.x86_64//g' \ | sed 's/\.x86_64//g' \
) )
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel)
RUN dnf install -y waydroid scx-scheds RUN dnf install -y waydroid scx-scheds
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day # Remove plocate to avoid updatedb going crazy with scanning the file system once a day