Skip to content

Commit

Permalink
extensions/Dockerfile: use the FCOS defined fedora.repo to set up con…
Browse files Browse the repository at this point in the history
…tainer

Use the fedora.repo file defined in fedora-coreos-config to set up the
container. This will force packages to be downloaded from
dl.fedoraproject.org, as specified in the FCOS file. The ITUP cluster,
being used by the RHCOS pipeline, requires all outbound connections
to be specified in a Firewall Egress file, and this will ensure the
same connection will always be used.
  • Loading branch information
marmijo committed Aug 15, 2024
1 parent 761db82 commit 8301c67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN if [[ -n "${VARIANT}" ]]; then MANIFEST="manifest-${VARIANT}.yaml"; EXTENSIO
## current p8/s390x. See https://github.com/openshift/os/issues/1000
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://github.com/raw/coreos/fedora-coreos-config/testing-devel/fedora.repo -o /etc/yum.repos.d/fedora.repo
RUN dnf install -y createrepo_c
RUN createrepo_c /usr/share/rpm-ostree/extensions/

Expand Down

0 comments on commit 8301c67

Please sign in to comment.