From 3ba34577348a7276950375fce36fc11530b65f46 Mon Sep 17 00:00:00 2001 From: Tulili Date: Tue, 5 Sep 2023 19:42:46 -0300 Subject: [PATCH] feat: add bootc to all images --- Containerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containerfile b/Containerfile index ef7521bb09..ba8571d05c 100644 --- a/Containerfile +++ b/Containerfile @@ -53,6 +53,11 @@ COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq # Copy the build script and all custom scripts. COPY scripts /tmp/scripts +# Add bootc as invaluable part of the ecosystem +RUN 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 + # Run the build script, then clean up temp files and finalize container build. RUN cp -r /usr/etc/yum.repos.d /etc && \ chmod +x /tmp/scripts/build.sh && \