Skip to content

Commit

Permalink
fix: add bootc copr (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobslept authored Sep 12, 2023
1 parent 9f86dca commit e58d963
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit e58d963

Please sign in to comment.