use default Almalinux kernel or the custom built version of it.
This commit is contained in:
parent
3f55c1ab39
commit
5e075ba71c
1 changed files with 1 additions and 9 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,18 +1,10 @@
|
|||
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
|
||||
|
||||
|
||||
ARG KERNEL=kernel-cachyos-lts-lto-skylake
|
||||
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.
|
||||
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=andersrh&projectname=my-ostree-os&packagename=kernel" /tmp/builds.txt
|
||||
|
||||
COPY repo/*.repo /etc/yum.repos.d/
|
||||
|
||||
RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
|
||||
|
||||
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
|
||||
|
||||
RUN dnf upgrade -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue