1
0
Fork 0
ostree-native-containers/Dockerfile.gnome-nvidia
ver4a e3814f5ba2
All checks were successful
/ build-kde (push) Successful in 10m4s
/ build-gnome (push) Successful in 12m7s
Remove extraneous rpm-ostree metadata cleanup
2024-11-14 13:32:16 +01:00

13 lines
410 B
Text

FROM git.uncontrol.me/ver4a/onc-gnome:main
# Install nvidia drivers
RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda && \
akmods --force --kernels $(rpm -qa kernel | sed 's/kernel-//g') && \
rpm -e akmod-nvidia && \
dnf5 -y autoremove
# Remove rpm metadata cache
RUN dnf5 clean all
# https://github.com/ostreedev/ostree-rs-ext/issues/159
RUN ostree container commit