terraform-compliance / cli

a lightweight, security focused, BDD test framework against terraform.
https://terraform-compliance.com
MIT License
1.35k stars 152 forks source link

Get rid of "/root/.cache" directory #730

Open n0y opened 8 months ago

n0y commented 8 months ago

Docker Image contains unneeded files in /root/.cache. These are written by Pip:

https://github.com/terraform-compliance/cli/blob/d7e7fa3c3000c9e7e749f9be0e4e678ce6c63f2a/Dockerfile#L44

You could maybe omit that by using the --no-cache-dir option...?