Compare commits
No commits in common. "ec280479166aa8454641ad9569f5fef6d9c0aac4" and "576e7c2d61797e4161feddd48f66f748ea2b4ea4" have entirely different histories.
ec28047916
...
576e7c2d61
1 changed files with 5 additions and 14 deletions
19
Dockerfile
19
Dockerfile
|
|
@ -1,6 +1,6 @@
|
||||||
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
||||||
|
|
||||||
ARG KERNEL=kernel-ml
|
ARG KERNEL=kernel
|
||||||
ENV KERNEL=${KERNEL}
|
ENV KERNEL=${KERNEL}
|
||||||
|
|
||||||
RUN dnf upgrade -y
|
RUN dnf upgrade -y
|
||||||
|
|
@ -9,7 +9,6 @@ COPY bin/set_next_version.sh /tmp
|
||||||
RUN /tmp/set_next_version.sh
|
RUN /tmp/set_next_version.sh
|
||||||
|
|
||||||
COPY repo/*.repo /etc/yum.repos.d/
|
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
|
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
|
||||||
|
|
||||||
|
|
@ -42,20 +41,12 @@ RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/down
|
||||||
# Enable CachyOS addons EL10 fork repo
|
# Enable CachyOS addons EL10 fork repo
|
||||||
RUN dnf copr enable andersrh/kernel-cachyos-addons-el10 -y
|
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 -y ${KERNEL}-devel ${KERNEL}-headers
|
||||||
RUN dnf install https://www.elrepo.org/elrepo-release-10.el10.elrepo.noarch.rpm -y
|
|
||||||
|
|
||||||
RUN dnf install --enablerepo=elrepo-kernel -y ${KERNEL}
|
RUN dnf install almalinux-release-nvidia-driver -y
|
||||||
|
RUN dnf install nvidia-open-kmod nvidia-driver nvidia-driver-cuda -y
|
||||||
|
|
||||||
RUN rpm -e --nodeps kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
|
RUN dnf install -y waydroid scx-scheds
|
||||||
|
|
||||||
RUN dnf install --enablerepo=elrepo-kernel -y ${KERNEL}-devel
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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