switch to official cachyos LTS kernel
This commit is contained in:
parent
fe2a8ee3f0
commit
4773393116
1 changed files with 3 additions and 2 deletions
|
|
@ -1,16 +1,17 @@
|
||||||
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
||||||
|
|
||||||
|
|
||||||
ARG KERNEL=kernel-cachyos-lts-lto-skylake
|
ARG KERNEL=kernel-cachyos-lts-lto
|
||||||
ENV KERNEL=${KERNEL}
|
ENV KERNEL=${KERNEL}
|
||||||
|
|
||||||
# Get list of kernels from my repo. If the list has been updated, then the image will be rebuilt. If it hasn't been updated, then caching of the previous build will be used.
|
# Get list of kernels from my repo. If the list has been updated, then the image will be rebuilt. If it hasn't been updated, then caching of the previous build will be used.
|
||||||
ADD "https://copr.fedorainfracloud.org/api_3/build/list?ownername=andersrh&projectname=my-ostree-os&packagename=kernel-cachyos-lts-lto-skylake" /tmp/builds.txt
|
ADD "https://copr.fedorainfracloud.org/api_3/build/list?ownername=bieszczaders&projectname=kernel-cachyos-lto&packagename=kernel-cachyos-lts-lto" /tmp/builds.txt
|
||||||
|
|
||||||
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
|
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
|
||||||
|
|
||||||
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 config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
|
||||||
|
RUN dnf copr enable bieszczaders/kernel-cachyos-lto -y
|
||||||
|
|
||||||
RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
|
RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue