When bootc is used to deploy the image, kernel arguments can be injected using https://containers.github.io/bootc/building/kernel-arguments.html
13 lines
404 B
Text
13 lines
404 B
Text
FROM git.uncontrol.me/ver4a/onc-kde: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
|
|
|
|
# Apply configuration
|
|
COPY usr.nvidia /usr
|
|
|
|
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
|
RUN ostree container commit
|