Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Jenkinsfile
chubing committed Oct 4, 2018
1 parent 846dc96 commit a4fa056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
@@ -51,7 +51,7 @@ pipeline {
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") {
def baseImg = docker.build("$maintainer/$imagename", "--no-cache .")
// scan the image with clair
sh 'docker run -p 5432:5432 -d --name clairdb arminc/clair-db:2017-10-04'
sh 'docker run -p 5432:5432 -d --name clairdb arminc/clair-db:2018-10-04'
sh 'docker run -p 6060:6060 --link clairdb:postgres -d --name clair arminc/clair-local-scan:v2.0.5'
sh 'curl -L -o clair-scanner https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64'
sh 'chmod 755 clair-scanner'

0 comments on commit a4fa056

Please sign in to comment.