add new root ca
This commit is contained in:
		@@ -38,14 +38,15 @@ pipeline {
 | 
			
		||||
LABEL org.opencontainers.image.authors="The_Spider <spider@smoothnet.org>"
 | 
			
		||||
LABEL org.opencontainers.image.title="alpine"
 | 
			
		||||
 | 
			
		||||
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 && \\
 | 
			
		||||
    apk del .packagecache && \\
 | 
			
		||||
    sed -i 's/dl-cdn.alpinelinux.org/nexus.c.test-chamber-13.lan\\/repository/g' /etc/apk/repositories
 | 
			
		||||
"""
 | 
			
		||||
                    writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA())
 | 
			
		||||
                    writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getRetiredRootCA())
 | 
			
		||||
                    writeFile(file: workspace + "/test-chamber-13.lan.ret.root.crt", text: functions.getCurrentRootCA())
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user