This commit is contained in:
parent
286c75147d
commit
26bb2924d8
1 changed files with 9 additions and 6 deletions
15
Dockerfile
15
Dockerfile
|
|
@ -1,6 +1,6 @@
|
|||
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
||||
|
||||
ARG KERNEL=kernel-ml
|
||||
ARG KERNEL=kernel-cachyos
|
||||
ENV KERNEL=${KERNEL}
|
||||
|
||||
RUN dnf upgrade -y
|
||||
|
|
@ -42,20 +42,20 @@ RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/down
|
|||
# Enable CachyOS addons EL10 fork repo
|
||||
RUN dnf copr enable andersrh/kernel-cachyos-addons-el10 -y
|
||||
|
||||
RUN rpm --import https://www.elrepo.org/RPM-GPG-KEY-v2-elrepo.org
|
||||
RUN dnf install https://www.elrepo.org/elrepo-release-10.el10.elrepo.noarch.rpm -y
|
||||
# Enable CachyOS repositories
|
||||
RUN dnf copr enable bieszczaders/kernel-cachyos -y
|
||||
|
||||
RUN dnf install --enablerepo=elrepo-kernel -y ${KERNEL}
|
||||
RUN dnf install -y ${KERNEL}
|
||||
|
||||
RUN rpm -e --nodeps kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
|
||||
|
||||
RUN dnf install --enablerepo=elrepo-kernel -y ${KERNEL}-devel
|
||||
RUN dnf install -y ${KERNEL}-devel ${KERNEL}-devel-matched
|
||||
|
||||
# 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 waydroid
|
||||
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
|
||||
|
|
@ -112,6 +112,9 @@ RUN echo 'kargs = ["mem_sleep_default=deep"]' > /usr/lib/bootc/kargs.d/10-mem-sl
|
|||
RUN echo 'kargs = ["rd.driver.blacklist=nouveau", "nouveau.modeset=0"]' > /usr/lib/bootc/kargs.d/20-blacklist-nouveau.toml
|
||||
RUN printf '[connection]\nwifi.powersave=2\n' > /usr/lib/NetworkManager/conf.d/disable-wifi-powersave.conf
|
||||
|
||||
# Disable BORE schduler
|
||||
RUN echo "kernel.sched_bore = 0" | tee /usr/lib/sysctl.d/99-disable-bore.conf
|
||||
|
||||
COPY etc /etc
|
||||
COPY usr /usr
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue