Skip to content

Instantly share code, notes, and snippets.



Last active Jan 15, 2021
What would you like to do?
Jenkinsfile Clair Step
stage("docker_scan avec clair"){
sh '''
docker rm db
docker rm clair
docker run -p 5432:5432 -d --name db arminc/clair-db:2021-01-08
docker run -p 6060:6060 -d --name clair arminc/clair-local-scan:arminc/clair-local-scan:v2.1.6_3bfb31ea61aa42eeb836354976065ccea308707e
clair-scanner --clair="http://clair:6060" vulnerables/web-dvwa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment