Compare commits
2 commits
elrepo-ker
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17f2c540f7 | ||
|
|
26bb2924d8 |
1 changed files with 11 additions and 6 deletions
17
Dockerfile
17
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
|
||||
|
|
@ -106,12 +106,17 @@ RUN dnf install https://github.com/trapexit/mergerfs/releases/download/2.41.1/me
|
|||
|
||||
RUN dnf install -y virt-manager
|
||||
|
||||
RUN dnf install -y https://github.com/balena-io/etcher/releases/download/v2.1.6/balena-etcher-2.1.6-1.x86_64.rpm
|
||||
|
||||
RUN systemctl enable docker
|
||||
|
||||
RUN echo 'kargs = ["mem_sleep_default=deep"]' > /usr/lib/bootc/kargs.d/10-mem-sleep.toml
|
||||
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