Skip to content

Commit

Permalink
Adjust nvidia example to remove dkms_autoinstaller
Browse files Browse the repository at this point in the history
Nvidia removed dkms_autoinstaller from the non-Debian packages.

Signed-off-by: Jonathon Anderson <[email protected]>
  • Loading branch information
anderbubble committed Jan 6, 2025
1 parent 9ed1301 commit d01ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rockylinux-9-nvidia/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ RUN dnf -y install dnf-plugins-core epel-release kernel-headers \
&& dnf -y module install nvidia-driver:latest-dkms \
&& dnf -y install datacenter-gpu-manager \
&& dnf clean all \
&& ls /lib/modules | xargs -n1 /usr/lib/dkms/dkms_autoinstaller start \
&& for dir in /usr/src/kernels/*; do dkms autoinstall --kernelver $(basename $dir); done \
&& dkms status

0 comments on commit d01ee7f

Please sign in to comment.