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.
11 lines
347 B
Text
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
|