(nvidia) Pre-configure kernel arguments
When bootc is used to deploy the image, kernel arguments can be injected using https://containers.github.io/bootc/building/kernel-arguments.html
This commit is contained in:
parent
ffeb8e6e33
commit
7a6c06dd31
3 changed files with 7 additions and 0 deletions
|
@ -6,5 +6,8 @@ RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda &&
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue