adds new root ca
This commit is contained in:
@@ -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 && \\
|
||||
|
Reference in New Issue
Block a user