Skip to content

Commit 87ebfcd

Browse files
committed
fix: skip java-db download
Signed-off-by: Jesse Suen <jesse@akuity.io>
1 parent 2ee005a commit 87ebfcd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docker/trivy/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ ARG TRIVY_VERSION=latest
22
FROM aquasec/trivy:${TRIVY_VERSION}
33

44
# Download the vulnerability DB at build time
5-
RUN trivy image --download-db-only
5+
RUN trivy image --download-db-only && \
6+
trivy image --download-java-db-only

kargo/custom-steps/trivy-image/trivy-image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ spec:
1111
- --severity=CRITICAL
1212
- --disable-telemetry
1313
- --skip-db-update
14+
- --skip-java-db-update
1415
- --scanners=vuln
1516
- ${{ config.image }}

0 commit comments

Comments
 (0)