sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
549 stars 76 forks source link

Configurable cache directory #216

Closed calvinbui closed 2 years ago

calvinbui commented 3 years ago

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

cc @bhamail / @DarthHater

bhamail commented 3 years ago

Thanks for creating this issue. Could you elaborate on your use case for this? I'm just trying to understand the details.

calvinbui commented 3 years ago

Speeding up CI builds

ihavespoons commented 3 years ago

Putting a plus 1 on this issue. I am trying to run this out of a Lambda function and the dependent library https://github.com/sonatype-nexus-community/go-sona-types/ causes a critical error because its using usr.HomeDir to determine home directory. Unfortunately this relies on /etc/passwd and ignores the $HOME variable. This means this software is essentially impossible to run in a Serverless environment.

DarthHater commented 2 years ago

@calvinbui @ihavespoons I'll see if I can jet this through today!