From fcfa11aeb6c9ea52bf2446613a71d10b659c7b76 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 12 Jan 2025 17:06:12 -0500 Subject: [PATCH] Changing to the new gpg key --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6194c6..82480da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,9 +30,10 @@ RUN dnf install -y podman-docker buildah skopeo \ && dnf install -y rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel \ && dnf install -y ansible-collection* \ && dnf install -y cpanminus perl-Mojolicious perl-Test-Mojo perl-Test-Harness perl-Perl-Critic perl-Carton \ - && curl -k -s -o /etc/yum.repos.d/okd.repo https://nexus.jamesjonesconsulting.com/repository/package-config/yum/okd.repo \ + && dnf install -y \ + $(curl -k -sS -X 'GET' 'https://nexus.jamesjonesconsulting.com/service/rest/v1/search/assets?sort=version&direction=desc&repository=yum-hosted-arch&yum.architecture=noarch&yum.name=jamesjonesconsulting-repos' |\ + jq '.items[] | .downloadUrl' -r | head -n1) \ && dnf install -y okd-client \ - && curl -k -s -o /etc/yum.repos.d/okd.repo https://nexus.jamesjonesconsulting.com/repository/package-config/yum/sonarqube-packages.repo \ && dnf install -y sonar-scanner-cli-${SONAR_SCANNER_VERSION} \ && dnf clean all \ && rm -rf /var/cache/yum \