chore(scanner): upgrade clair scanner to 1.0.1 (#10147)

Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
He Weiwei 2019-12-05 17:52:37 +08:00 committed by GitHub
parent 48f215e416
commit 4ea5c41553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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