Formatting tweaks
This commit is contained in:
@@ -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}')"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user