Attempt to fix nvidia akmod build

This commit is contained in:
Ben Radey
2025-11-23 14:21:42 -05:00
parent bb6256a913
commit a94a93af1c
3 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ RUN rpm --import \
RUN dnf5 install -y \
akmod-nvidia \
xorg-x11-drv-nvidia-cuda \
proton-vpn-gnome-desktop || true
proton-vpn-gnome-desktop || true && \
dnf5 clean all
# TODO: Remove these unnecessary checks to make sure the packages above actually got installed. rpm exits non-zero if the package is not installed and aborts the Containerfile build
RUN rpm -q akmod-nvidia && \
rpm -q xorg-x11-drv-nvidia-cuda && \