Adding xorg-x11-drv-nvidia-cuda to supermicro
This commit is contained in:
@@ -79,10 +79,12 @@ RUN dnf5 install -y \
|
|||||||
|
|
||||||
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
|
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
|
||||||
RUN dnf5 install -y \
|
RUN dnf5 install -y \
|
||||||
akmod-nvidia || true && \
|
akmod-nvidia \
|
||||||
|
xorg-x11-drv-nvidia-cuda || true && \
|
||||||
dnf5 clean all
|
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
|
# 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
|
RUN rpm -q akmod-nvidia && \
|
||||||
|
rpm -q xorg-x11-drv-nvidia-cuda
|
||||||
|
|
||||||
# Build nvidia akmod with no special arguments - defaults to open kernel driver for newer hardware
|
# Build nvidia akmod with no special arguments - defaults to open kernel driver for newer hardware
|
||||||
RUN mkdir -p /var/log/akmods /var/cache/akmods/nvidia /var/tmp && \
|
RUN mkdir -p /var/log/akmods /var/cache/akmods/nvidia /var/tmp && \
|
||||||
|
|||||||
Reference in New Issue
Block a user