Skip to content

Commit 3ea8963

Browse files
authored
Merge pull request #70 from Kirari04/fix/build-syft-error
Fix/build syft error
2 parents f6e8371 + 6f73430 commit 3ea8963

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
@@ -27,7 +27,7 @@ FROM golang:latest AS builder
2727
WORKDIR /build
2828

2929
# Install Syft for SBOM generation
30-
RUN go install github.com/anchore/syft/cmd/syft@latest
30+
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /go/bin
3131

3232
# Copy source code
3333
COPY . .

0 commit comments

Comments
 (0)