Compare commits
No commits in common. "97483bbbc19b48b087a2e589c749f1c0d84450ef" and "790f5316751c58e4795df04d5d6b23069d4ebe8b" have entirely different histories.
97483bbbc1
...
790f531675
1 changed files with 3 additions and 9 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -34,18 +34,12 @@ RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
|
|||
|
||||
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
|
||||
|
||||
# Install Negativo17 Nvidia driver, waydroid and SELinux rules
|
||||
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver waydroid && \
|
||||
rm -rf /etc/selinux/targeted/tmp /var/lib/selinux/targeted/tmp && \
|
||||
mkdir -p /etc/selinux/targeted/tmp && \
|
||||
semodule -B && \
|
||||
semodule -i /usr/share/selinux/targeted/waydroid.pp && \
|
||||
semodule -i /usr/share/selinux/packages/targeted/nvidia-driver.pp.bz2 && \
|
||||
rm -rf /etc/selinux/targeted/tmp
|
||||
# Install Negativo17 Nvidia driver
|
||||
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
|
||||
|
||||
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
|
||||
|
||||
RUN dnf install -y scx-scheds
|
||||
RUN dnf install -y waydroid scx-scheds
|
||||
|
||||
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day
|
||||
RUN dnf remove -y plocate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue