Skip to content
This repository has been archived by the owner on Jan 11, 2025. It is now read-only.

Commit

Permalink
Hardcode Mirror to working URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hanthor committed Dec 28, 2024
1 parent b215180 commit 13f2ad0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ COPY ./package-requires.txt .
RUN grep -vE '^#' package-requires.txt | xargs dnf install -y && rm -f package-requires.txt && dnf clean all
COPY --from=builder /build/bin/* /usr/bin/
COPY bib/data /usr/share/bootc-image-builder
RUN FILES=(/etc/yum.repos.d/fedora*.repo); sed --in-place \
-e 's ^metalink= #metalink= ' \
-e "s ^#baseurl=https://mirror.facebook.net/ baseurl=https://dl.fedoraproject.org/ " \
"${FILES[@]}";

ENTRYPOINT ["/usr/bin/bootc-image-builder"]
VOLUME /output
Expand Down

0 comments on commit 13f2ad0

Please sign in to comment.