Skip to content

Commit d9cf175

Browse files
committed
fix: updated trivy downloader version
1 parent 8497c8b commit d9cf175

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/renovate.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"executionMode": "branch"
1010
},
1111
"packageRules": [
12+
{
13+
"matchManagers": ["dockerfile"],
14+
"addLabels": ["Docker"],
15+
"schedule": ["* 7 * * 1"]
16+
},
1217
{
1318
"matchManagers": ["maven"],
1419
"addLabels": ["Java"],

docker/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
FROM alpine:3.22 AS trivy-downloader
2-
ARG TRIVY_VERSION=0.67.2
3-
4-
RUN wget https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz && \
5-
tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz && \
6-
mv trivy /usr/local/bin/trivy && \
7-
rm trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
1+
FROM aquasec/trivy:0.69.3 AS trivy-downloader
82

93
FROM eclipse-temurin:25.0.1_8-jre-jammy AS runner
104
ARG GID=2000

0 commit comments

Comments
 (0)