install cachyos lts kernel, waydroid and weston
Some checks failed
os / build (push) Has been cancelled
Some checks failed
os / build (push) Has been cancelled
This commit is contained in:
parent
9a800e6bd2
commit
b63902678e
1 changed files with 16 additions and 1 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -1,5 +1,8 @@
|
||||||
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
||||||
|
|
||||||
|
ARG KERNEL=kernel-cachyos-lts
|
||||||
|
ENV KERNEL=${KERNEL}
|
||||||
|
|
||||||
COPY bin/set_next_version.sh /tmp
|
COPY bin/set_next_version.sh /tmp
|
||||||
RUN /tmp/set_next_version.sh
|
RUN /tmp/set_next_version.sh
|
||||||
|
|
||||||
|
|
@ -10,9 +13,21 @@ RUN dnf install -y kernel-headers kernel-devel-matched
|
||||||
|
|
||||||
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
|
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
|
||||||
|
|
||||||
|
# Enable CachyOS repositories
|
||||||
|
RUN dnf copr enable bieszczaders/kernel-cachyos -y
|
||||||
|
|
||||||
|
RUN dnf install -y ${KERNEL}
|
||||||
|
|
||||||
|
RUN rpm -e --nodeps kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
|
||||||
|
|
||||||
|
RUN dnf install -y ${KERNEL}-devel ${KERNEL}-devel-matched
|
||||||
|
|
||||||
# Install Negativo17 Nvidia driver
|
# Install Negativo17 Nvidia driver
|
||||||
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
|
||||||
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})
|
||||||
|
|
||||||
|
# Install Waydroid and Weston
|
||||||
|
RUN dnf install -y waydroid weston
|
||||||
|
|
||||||
COPY repo/*.repo /etc/yum.repos.d/
|
COPY repo/*.repo /etc/yum.repos.d/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue