adds new root ca

This commit is contained in:
2022-08-20 09:20:19 -05:00
parent 3f1d2cbf61
commit b158ccf1a7
2 changed files with 5 additions and 4 deletions

View File

@@ -25,12 +25,13 @@ 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/gitea/gitea:latest-rootless
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 apk add --no-cache --virtual=.packagecache ca-certificates && \\
update-ca-certificates --fresh && \\