Commit 2776699a authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'add-link-for-dockerfile-env-var' into 'master'

Link DOCKERFILE_PATH CS env var to available vars

See merge request gitlab-org/gitlab!29220
parents 2ff6707e b1da93d7
...@@ -414,7 +414,8 @@ Some vulnerabilities can be fixed by applying the solution that GitLab ...@@ -414,7 +414,8 @@ Some vulnerabilities can be fixed by applying the solution that GitLab
automatically generates. automatically generates.
To enable remediation support, the scanning tool _must_ have access to the `Dockerfile` specified by To enable remediation support, the scanning tool _must_ have access to the `Dockerfile` specified by
the `DOCKERFILE_PATH` environment variable. To ensure that the scanning tool has access to this the [`DOCKERFILE_PATH`](#available-variables) environment variable. To ensure that the scanning tool
has access to this
file, it's necessary to set [`GIT_STRATEGY: fetch`](../../../ci/yaml/README.md#git-strategy) in file, it's necessary to set [`GIT_STRATEGY: fetch`](../../../ci/yaml/README.md#git-strategy) in
your `.gitlab-ci.yml` file by following the instructions described in this document's your `.gitlab-ci.yml` file by following the instructions described in this document's
[overriding the Container Scanning template](#overriding-the-container-scanning-template) section. [overriding the Container Scanning template](#overriding-the-container-scanning-template) section.
......
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