From 578cdde4a0461948c8c2a8bcd3d7b5a42e0443ae Mon Sep 17 00:00:00 2001 From: bobslept <38557801+bobslept@users.noreply.github.com> Date: Tue, 12 Sep 2023 23:49:10 +0200 Subject: [PATCH] fix: add bootc copr (#480) --- Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 840ff5949fa..951ea30796b 100644 --- a/Containerfile +++ b/Containerfile @@ -16,7 +16,10 @@ COPY etc/yum.repos.d/ /etc/yum.repos.d/ COPY packages.json /tmp/packages.json COPY build.sh /tmp/build.sh -RUN ln -sr /usr/bin/rpm-ostree /usr/bin/bootc +## bootc +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 +RUN rpm-ostree install bootc +RUN rm -f /etc/yum.repos.d/bootc-"${FEDORA_MAJOR_VERSION}".repo RUN /tmp/build.sh && \ pip install --prefix=/usr yafti && \