From b9b3095925e76a9bded365b8419634ef003790cb Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Sun, 24 Sep 2023 15:40:06 -0400 Subject: [PATCH] feat: add a bootc snapshot (#367) Co-authored-by: bobslept <38557801+bobslept@users.noreply.github.com> --- Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Containerfile b/Containerfile index bfa3172e..0b3615d7 100644 --- a/Containerfile +++ b/Containerfile @@ -21,6 +21,10 @@ RUN wget https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-$( /tmp/nokmods-post-install.sh && \ # temporary fix for https://github.com/containers/podman/issues/19930 rpm-ostree override replace https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d641964bc && \ + ## bootc + wget https://copr.fedorainfracloud.org/coprs/rhcontainerbot/bootc/repo/fedora-"${FEDORA_MAJOR_VERSION}"/bootc-"${FEDORA_MAJOR_VERSION}".repo -O /etc/yum.repos.d/bootc.repo && \ + rpm-ostree install bootc && \ + rm -f /etc/yum.repos.d/bootc.repo && \ rm -f /etc/yum.repos.d/_copr_ublue-os_staging.repo && \ rm -f /etc/yum.repos.d/_copr_kylegospo_oversteer.repo && \ rm -rf /tmp/* /var/*