Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
feat: add bootc to all images
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Sep 5, 2023
1 parent 3eab385 commit 3ba3457
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 3ba3457

Please sign in to comment.