use negativo17 driver instead
All checks were successful
os / build (push) Successful in 22m21s

This commit is contained in:
Anders da Silva Rytter Hansen 2026-06-19 15:29:53 -03:00
commit 6971569944

View file

@ -3,18 +3,21 @@ FROM quay.io/almalinuxorg/atomic-desktop-kde:10
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
RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
# Install kernel dev files
RUN dnf install -y kernel-headers kernel-devel-matched
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
# Install Negativo17 Nvidia driver
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel)
COPY repo/*.repo /etc/yum.repos.d/ COPY repo/*.repo /etc/yum.repos.d/
RUN dnf update -y RUN dnf update -y
RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
# Install Almalinux Nvidia driver
RUN dnf install almalinux-release-nvidia-driver -y
RUN dnf install nvidia-open-kmod nvidia-driver -y
RUN dnf install nvidia-driver-cuda -y
# This is necessary for the speakers and internal microphone # This is necessary for the speakers and internal microphone
RUN dnf install -y alsa-sof-firmware RUN dnf install -y alsa-sof-firmware