Attempt to fix nvidia akmod build
This commit is contained in:
1 parent
bb6256a913
commit
a94a93af1c
3 files changed
+9
-4
No files matched your search
@@ -1,7 +1,9 @@
|
||||
FROM ghcr.io/benradey/workstation-nvidia-base:latest
|
||||
|
||||
# Build nvidia akmod with no special arguments - defaults to open kernel driver for newer hardware
|
||||
RUN /usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
RUN mkdir -p /var/log/akmods /var/cache/akmods/nvidia /var/tmp && \
|
||||
chmod 777 /var/tmp && \
|
||||
/usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
|
||||
RUN dnf5 install -y \
|
||||
dkms \
|
||||
|
||||
Reference in new issue
Block a user