Update 'build-alpine.jenkins'

This commit is contained in:
Hyatt 2021-05-25 17:01:54 +00:00
parent 2a1fe3bab7
commit bbf920e9f8

View File

@ -46,8 +46,8 @@ spec:
}
}
container("kaniko") {
stage("Build Latest Alpine with CA") {
stage("Build Latest Alpine with CA") {
container("kaniko") {
def DF = """FROM ${repository}/dockerhub/library/alpine:latest
RUN apk add --no-cache --virtual=.packagecache ca-certificates && \\
@ -71,8 +71,10 @@ RUN apk add --no-cache --virtual=.packagecache ca-certificates && \\
writeFile(file: workspace + "/Dockerfile", text: DF)
sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/alpine:latest\""
}
}
stage("Build Edge Alpine with CA") {
stage("Build Edge Alpine with CA") {
container("kaniko") {
def DF = """FROM ${repository}/dockerhub/library/alpine:edge
RUN apk add --no-cache --virtual=.packagecache ca-certificates && \\