From 7a4ce1ce1ed46df98b8fa8bdf53865ce6001a111 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Fri, 20 Oct 2023 14:04:10 +0100 Subject: [PATCH] Force trivy cache dir Signed-off-by: Prabhu Subramanian --- binary.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binary.js b/binary.js index 521cf157b..84b5c60e4 100644 --- a/binary.js +++ b/binary.js @@ -314,6 +314,8 @@ export const getOSPackages = (src) => { "0", "--format", "cyclonedx", + "--cache-dir", + trivyCacheDir, "--output", bomJsonFile ];