Skip to content

Commit 8a1372f

Browse files
committed
fix: use same curl version everywhere
Signed-off-by: Simon Gellis <[email protected]>
1 parent 89dd513 commit 8a1372f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN mkdir -p build/contracts \
6464
FROM alpine:3.19 AS sbom
6565
WORKDIR /
6666
ADD . /SBOM
67-
RUN apk add --no-cache curl
67+
RUN apk add --no-cache curl=8.12.0-r0
6868
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.48.3
6969
RUN trivy fs --format spdx-json --output /sbom.spdx.json /SBOM
7070
RUN trivy sbom /sbom.spdx.json --severity UNKNOWN,HIGH,CRITICAL --db-repository public.ecr.aws/aquasecurity/trivy-db --exit-code 1

0 commit comments

Comments
 (0)