Compare commits
9 commits
f958f8281f
...
576e7c2d61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
576e7c2d61 | ||
|
|
5ae8348a8c | ||
|
|
dff5c0deb1 | ||
|
|
da92f320cd | ||
|
|
64cc934f9f | ||
|
|
82991f616d | ||
|
|
0cc6d03a8c | ||
|
|
6de634d623 | ||
|
|
f78e75b5f0 |
1 changed files with 5 additions and 12 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -3,13 +3,12 @@ FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
|||
ARG KERNEL=kernel
|
||||
ENV KERNEL=${KERNEL}
|
||||
|
||||
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
|
||||
RUN dnf upgrade -y
|
||||
|
||||
COPY bin/set_next_version.sh /tmp
|
||||
RUN /tmp/set_next_version.sh
|
||||
|
||||
COPY repo/*.repo /etc/yum.repos.d/
|
||||
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
|
||||
|
||||
RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
|
||||
|
||||
|
|
@ -39,20 +38,13 @@ RUN dnf remove -y sddm && \
|
|||
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop
|
||||
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v3.0.0-beta-3/appimagelauncher_3.0.0-beta-2-gha287.96cb937_x86_64.rpm
|
||||
|
||||
# Enable CachyOS repositories
|
||||
RUN dnf copr enable bieszczaders/kernel-cachyos -y
|
||||
|
||||
# Enable CachyOS addons EL10 fork repo
|
||||
RUN dnf copr enable andersrh/kernel-cachyos-addons-el10 -y
|
||||
|
||||
RUN dnf install -y ${KERNEL}-devel
|
||||
RUN dnf install -y ${KERNEL}-devel ${KERNEL}-headers
|
||||
|
||||
# Install Negativo17 Nvidia driver
|
||||
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
|
||||
|
||||
RUN rpm -e --nodeps kernel-cachyos-server-core kernel-cachyos-server-devel kernel-cachyos-server-devel-matched kernel-cachyos-server-modules
|
||||
|
||||
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
|
||||
RUN dnf install almalinux-release-nvidia-driver -y
|
||||
RUN dnf install nvidia-open-kmod nvidia-driver nvidia-driver-cuda -y
|
||||
|
||||
RUN dnf install -y waydroid scx-scheds
|
||||
|
||||
|
|
@ -107,6 +99,7 @@ RUN systemctl enable docker
|
|||
RUN systemctl enable scx_loader
|
||||
|
||||
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
|
||||
|
||||
COPY etc /etc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue