summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilbert Roulot <groulot@gitlab.com>2018-04-27 10:24:30 +0200
committerGilbert Roulot <groulot@gitlab.com>2018-05-08 14:35:30 +0200
commit689a02e54c03c157ee1bf87f3975616e2165af56 (patch)
treef637da3715b25863839b9d30f37a37fa9b3d0ff4
parentc8bfb3e418b0dcce8b3f3bec91bb2ae64f0fe19d (diff)
downloadgitlab-ce-689a02e54c03c157ee1bf87f3975616e2165af56.tar.gz
Updates Clair Container scanning GitLab CI configuration
-rw-r--r--doc/ci/examples/container_scanning.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/examples/container_scanning.md b/doc/ci/examples/container_scanning.md
index eb76521cc02..a9501f6c577 100644
--- a/doc/ci/examples/container_scanning.md
+++ b/doc/ci/examples/container_scanning.md
@@ -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