Skip to content

Commit

Permalink
fix: replace dead rpm url with fetching individual pem files
Browse files Browse the repository at this point in the history
  • Loading branch information
infinitewarp committed Oct 24, 2024
1 parent feb3823 commit 7b71cfe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ RUN dnf install -y \
krb5-workstation git man vim which chkconfig java-headless cargo packit \
python3-pip python3-devel python3-setuptools \
python3-poetry python3-rich python3-pyyaml \
&& curl -k -L -o /tmp/redhat-internal-cert-install-0.1-31.el7.noarch.rpm \
https://hdn.corp.redhat.com/rhel7-csb-stage/RPMS/noarch/redhat-internal-cert-install-0.1-31.el7.noarch.rpm \
&& rpm -ivh /tmp/redhat-internal-cert-install-0.1-31.el7.noarch.rpm \
&& rm -f /tmp/redhat-internal-cert-install-0.1-31.el7.noarch.rpm \
&& curl -L -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://certs.corp.redhat.com/certs/2015-IT-Root-CA.pem \
&& curl -L -o /etc/pki/ca-trust/source/anchors/2022-IT-Root-CA.pem https://certs.corp.redhat.com/certs/2022-IT-Root-CA.pem \
&& update-ca-trust \
&& curl -L -o /etc/yum.repos.d/rcm-tools-fedora.repo https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo \
&& dnf install -y rhpkg brewkoji \
&& rm -f /etc/yum.repos.d/rcm-tools-fedora.repo \
Expand Down

0 comments on commit 7b71cfe

Please sign in to comment.