Commit 21eccf42 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch '45819_update_container_scanning_gitlab_ci_config_doc' into 'master'

Updates Clair container scanning GitLab CI configuration

Closes #45819

See merge request gitlab-org/gitlab-ce!18614
parents 9a54cb36 689a02e5
...@@ -23,7 +23,7 @@ sast:container: ...@@ -23,7 +23,7 @@ sast:container:
- docker:stable-dind - docker:stable-dind
script: script:
- docker run -d --name db arminc/clair-db:latest - 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 - apk add -U wget ca-certificates
- docker pull ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} - docker pull ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG}
- wget https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 - wget https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment