Skip to content

Commit

Permalink
extensions/Dockerfile: use fedora-archive.repo to set up container
Browse files Browse the repository at this point in the history
The `fedora-archive.repo` file now contains both EOL and non-EOL repo
locations[1]. This means we can change the extensions container, which uses
the fedora container, to utilize `fedora-archive.repo` as the only repo
configuration file. This reduces the maintenance burden because now we don't
have to change this curl statement when fedora versions reach EOL.

[1] coreos/fedora-coreos-config#3145
  • Loading branch information
marmijo committed Sep 6, 2024
1 parent 32dc880 commit fc6b3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN if [[ -n "${VARIANT}" ]]; then MANIFEST="manifest-${VARIANT}.yaml"; EXTENSIO
FROM quay.io/fedora/fedora:40 as builder
COPY --from=os /usr/share/rpm-ostree/extensions/ /usr/share/rpm-ostree/extensions/
RUN rm -f /etc/yum.repos.d/*.repo \
&& curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora.repo -o /etc/yum.repos.d/fedora.repo
&& curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora-archive.repo -o /etc/yum.repos.d/fedora-archive.repo
RUN dnf install -y createrepo_c
RUN createrepo_c /usr/share/rpm-ostree/extensions/

Expand Down

0 comments on commit fc6b3a3

Please sign in to comment.