Compare commits
4 commits
790f531675
...
97483bbbc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97483bbbc1 | ||
|
|
1426a4497e | ||
|
|
bc529db80f | ||
|
|
eea1c24ec4 |
1 changed files with 9 additions and 3 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -34,12 +34,18 @@ 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
|
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
|
||||||
|
|
||||||
# Install Negativo17 Nvidia driver
|
# Install Negativo17 Nvidia driver, waydroid and SELinux rules
|
||||||
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
|
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
|
||||||
|
|
||||||
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
|
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 waydroid scx-scheds
|
RUN dnf install -y scx-scheds
|
||||||
|
|
||||||
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day
|
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day
|
||||||
RUN dnf remove -y plocate
|
RUN dnf remove -y plocate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue