diff --git a/Dockerfile b/Dockerfile index 58657ac..1485c54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM fedora:41 AS akmods-builder -ARG KERNEL=kernel-cachyos-lts-lto-skylake +ARG KERNEL=kernel-cachyos-lts-skylake ENV KERNEL=${KERNEL} # Get list of kernels from CachyOS LTO repo. If the list has been updated, then akmods 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-cachyos-lts-skylake" /tmp/builds.txt RUN dnf -y update && dnf -y install wget @@ -61,7 +61,7 @@ RUN rpm-ostree install ffmpeg ffmpeg-libs libavdevice intel-media-driver pipewir FROM base AS kernel -ARG KERNEL=kernel-cachyos-lts-lto-skylake +ARG KERNEL=kernel-cachyos-lts-skylake ENV KERNEL=${KERNEL} RUN cd /etc/yum.repos.d/ && wget https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/repo/fedora-$(rpm -E %fedora)/bieszczaders-kernel-cachyos-addons-fedora-$(rpm -E %fedora).repo