Updates Clair Container scanning GitLab CI configuration

This commit is contained in:
Gilbert Roulot 2018-04-27 10:24:30 +02:00
parent c8bfb3e418
commit 689a02e54c
No known key found for this signature in database
GPG key ID: 25BAB65C7895EAAB

View file

@ -23,7 +23,7 @@ sast:container:
- docker:stable-dind
script:
- docker run -d --name db arminc/clair-db:latest
- docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.1
- docker run -p 6060:6060 --link db:postgres -d --name clair --restart on-failure arminc/clair-local-scan:v2.0.1
- apk add -U wget ca-certificates
- docker pull ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG}
- wget https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64