adds new root ca

This commit is contained in:
Hyatt 2022-08-20 09:03:24 -05:00
parent 7515a5cd77
commit 3f1d2cbf61
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

@ -24,7 +24,8 @@ pipeline {
steps {
script {
workspace = pwd()
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA())
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>"
@ -34,7 +35,7 @@ LABEL org.opencontainers.image.base.name="docker.io/sonarsource/sonar-scanner-cl
USER root
COPY test-chamber-13.lan.root.crt /usr/local/share/ca-certificates/test-chamber-13.lan.root.crt
COPY test-chamber-13.lan.root.crt test-chamber-13.lan.ret.root.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates --fresh
USER scanner-cli