anchore / grype

A vulnerability scanner for container images and filesystems
Apache License 2.0
8.17k stars 528 forks source link

fix: add note about TMPDIR env var #1879

Closed avtar closed 1 month ago

avtar commented 1 month ago

As described in https://github.com/anchore/grype/issues/572 setting just the GRYPE_DB_CACHE_DIR environment variable doesn't successfully make grype use the custom cache location. TMPDIR needs to be set as well.

avtar commented 1 month ago

Closed in favour of #1880