1
0
Fork 0
ostree-native-containers/Dockerfile.kde-nvidia
ver4a ccacd6191a
Some checks failed
/ build-kde (push) Failing after 9m36s
/ build-gnome (push) Has been cancelled
Base nvidia images off of regular images
Previously regular images and nvidia images were split into separate
jobs and both were based off of an upstream image, this needlessly
increased build time and made maintaining the nvidia overlay take more
effort.
2024-11-14 00:18:41 +01:00

11 lines
347 B
Text

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