From 55c8f37a137c26d2b2152aecc51ed7c6089c2826 Mon Sep 17 00:00:00 2001 From: Kaiwalya Joshi Date: Sun, 27 Oct 2024 18:03:45 +0000 Subject: [PATCH] fix: List directory before downloading java-db --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 748b54f..4d16ffd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ USER 65532 # Download db and cache it. RUN trivy image --download-db-only --cache-dir /trivy_cache +RUN ls -Rl /trivy_cache RUN trivy image --download-java-db-only --cache-dir /trivy_cache RUN ls -Rl /trivy_cache