1
0
Fork 0
ostree-native-containers/Dockerfile.gnome-nvidia
ver4a a69f70d2dd
Some checks failed
/ build-gnome (push) Waiting to run
/ build-kde (push) Has been cancelled
Cleanup dnf5 metadata
2024-11-14 13:29:22 +01:00

14 lines
442 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 rpm-ostree cleanup --repomd
RUN dnf5 clean all
# https://github.com/ostreedev/ostree-rs-ext/issues/159
RUN ostree container commit