fedora_atomic_custom_image/Containerfile
Florian RICHER ee30949f27
Some checks failed
build-ublue-custom / Build and push image (push) Failing after 49s
NVIDIA: Try with kmod from ublue project
2024-10-17 21:33:53 +02:00

14 lines
396 B
Docker

ARG FEDORA_MAJOR_VERSION=40
FROM quay.io/fedora-ostree-desktops/kinoite:${FEDORA_MAJOR_VERSION}
ARG FEDORA_MAJOR_VERSION
COPY scripts /tmp/scripts
# https://github.com/ublue-os/akmods#kmod-packages
COPY --from=ghcr.io/ublue-os/akmods-nvidia-open:main-${FEDORA_MAJOR_VERSION} /rpms/ /tmp/rpms
RUN mkdir -p /var/lib/alternatives && \
/tmp/scripts/build.sh && \
ostree container commit