Formatting tweaks

This commit is contained in:
Ben Radey
2025-11-18 16:34:22 -05:00
parent c77f029603
commit 6d22686e3a
+7 -2
View File
@@ -45,9 +45,14 @@ RUN rpm --import \
dnf5 clean all
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
RUN dnf5 install -y akmod-nvidia xorg-x11-drv-nvidia-cuda proton-vpn-gnome-desktop || true
RUN dnf5 install -y \
akmod-nvidia \
xorg-x11-drv-nvidia-cuda \
proton-vpn-gnome-desktop || true
# 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 && rpm -q proton-vpn-gnome-desktop
RUN rpm -q akmod-nvidia && \
rpm -q xorg-x11-drv-nvidia-cuda && \
rpm -q proton-vpn-gnome-desktop
RUN /usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"