Ignore dnf5 errors
This is a workaround to this issue https://github.com/rpm-software-management/dnf5/issues/2507, the real bug is in the package and not rpm, but I don't have a better solution than completely ignoring the error right now. The build should be otherwise fine.
This commit is contained in:
parent
e57c274511
commit
f26fd618fd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ ARG NAMESPACE
|
||||||
FROM ${REGISTRY_DOMAIN}/${NAMESPACE}/onc-kde:main
|
FROM ${REGISTRY_DOMAIN}/${NAMESPACE}/onc-kde:main
|
||||||
|
|
||||||
# Install nvidia drivers
|
# Install nvidia drivers
|
||||||
RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda && \
|
RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda || true && \
|
||||||
akmods --force --kernels $(rpm -qa kernel | sed 's/kernel-//g') && \
|
akmods --force --kernels $(rpm -qa kernel | sed 's/kernel-//g') && \
|
||||||
rpm -e akmod-nvidia && \
|
rpm -e akmod-nvidia && \
|
||||||
dnf5 -y autoremove
|
dnf5 -y autoremove
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue