Fixed source image

This commit is contained in:
Jonathan Ervine 2020-08-16 21:28:21 +08:00
parent 007f6f4135
commit 4edd5cfa00
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/public/x86_64/alpine/alpine:3.12
FROM harbor.ervine.dev/public/x86_64/alpine:v3.12
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
LABEL "Maintainer Jonathan Ervine <docker@ervine.org>"
# Install updates
ENV LANG='en_US.UTF-8' \

2
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-dnsmasq.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:latest --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12.0 --destination=harbor.ervine.dev/public/x86_64/alpine/dnsmasq:v3.12'
}
}
}