-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump up Trivy Adapter for v2.11.x (#21181)
Signed-off-by: Daniel Jiang <[email protected]>
- Loading branch information
1 parent
71fab18
commit df19cb1
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM golang:1.22.9 | ||
|
||
ADD . /go/src/github.com/aquasecurity/harbor-scanner-trivy/ | ||
WORKDIR /go/src/github.com/aquasecurity/harbor-scanner-trivy/ | ||
ADD . /go/src/github.com/goharbor/harbor-scanner-trivy/ | ||
WORKDIR /go/src/github.com/goharbor/harbor-scanner-trivy/ | ||
|
||
RUN export GOOS=linux GO111MODULE=on CGO_ENABLED=0 && \ | ||
go build -o scanner-trivy cmd/scanner-trivy/main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters