adds new root ca
This commit is contained in:
parent
7515a5cd77
commit
3f1d2cbf61
@ -24,7 +24,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
workspace = pwd()
|
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
|
dockerFile = """FROM ${repository}/dockerhub/sonarsource/sonar-scanner-cli:latest
|
||||||
|
|
||||||
LABEL org.opencontainers.image.authors="The_Spider <spider@smoothnet.org>"
|
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
|
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
|
RUN update-ca-certificates --fresh
|
||||||
|
|
||||||
USER scanner-cli
|
USER scanner-cli
|
||||||
|
Reference in New Issue
Block a user