From fa8a289f67e1d3184b275e1375094d548edac171 Mon Sep 17 00:00:00 2001
From: nhyatt <nhyatt@smoothnet.org>
Date: Sun, 29 Sep 2024 07:30:53 -0500
Subject: [PATCH] updates sonarscanner

---
 build-sonarscanner.jenkins | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/build-sonarscanner.jenkins b/build-sonarscanner.jenkins
index a3eb51f..b45eaec 100644
--- a/build-sonarscanner.jenkins
+++ b/build-sonarscanner.jenkins
@@ -25,7 +25,6 @@ pipeline {
                 script {
                     workspace = pwd()
                     writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getCurrentRootCA())
-                    writeFile(file: workspace + "/test-chamber-13.lan.ret.root.crt", text: functions.getRetiredRootCA())
                     dockerFile = """FROM ${repository}/dockerhub/sonarsource/sonar-scanner-cli:latest
 
 LABEL org.opencontainers.image.authors="The_Spider <spider@smoothnet.org>"
@@ -35,8 +34,8 @@ LABEL org.opencontainers.image.base.name="docker.io/sonarsource/sonar-scanner-cl
 
 USER root
 
-COPY test-chamber-13.lan.root.crt test-chamber-13.lan.ret.root.crt /usr/local/share/ca-certificates/
-RUN update-ca-certificates --fresh
+COPY test-chamber-13.lan.root.crt /etc/pki/ca-trust/source/anchors/
+RUN update-ca-trust
 
 USER scanner-cli
 """