mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 06:28:06 +01:00
chore(scanner): upgrade clair scanner to 1.0.1 (#10147)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
48f215e416
commit
4ea5c41553
2
Makefile
2
Makefile
@ -103,7 +103,7 @@ CLAIRVERSION=v2.1.0
|
||||
MIGRATORVERSION=$(VERSIONTAG)
|
||||
REDISVERSION=$(VERSIONTAG)
|
||||
NOTARYMIGRATEVERSION=v3.5.4
|
||||
CLAIRADAPTERVERSION=v1.0.1-rc2
|
||||
CLAIRADAPTERVERSION=v1.0.1
|
||||
|
||||
# version of chartmuseum
|
||||
CHARTMUSEUMVERSION=v0.9.0
|
||||
|
@ -3,5 +3,5 @@ FROM golang:1.13.4
|
||||
ADD . /go/src/github.com/goharbor/harbor-scanner-clair/
|
||||
WORKDIR /go/src/github.com/goharbor/harbor-scanner-clair/
|
||||
|
||||
RUN export GOOS=linux GO111MODULE=on CGO_ENABLED=0 && \
|
||||
go build github.com/goharbor/harbor-scanner-clair/cmd/harbor-scanner-clair
|
||||
RUN export GOFLAGS=-mod=vendor GOOS=linux GO111MODULE=on CGO_ENABLED=0 && \
|
||||
go build -o harbor-scanner-clair cmd/harbor-scanner-clair/main.go
|
||||
|
Loading…
Reference in New Issue
Block a user