This commit is contained in:
parent
20e8324d94
commit
6971569944
1 changed files with 10 additions and 7 deletions
19
Dockerfile
19
Dockerfile
|
|
@ -3,18 +3,21 @@ FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
|||
COPY bin/set_next_version.sh /tmp
|
||||
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/
|
||||
|
||||
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
|
||||
RUN dnf install -y alsa-sof-firmware
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue