mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-07-19 04:58:07 +00:00
Download bench-common not build it.
This commit is contained in:
parent
13db2548ed
commit
76b3319cff
@ -2,7 +2,7 @@ FROM golang:1.9 AS build
|
||||
WORKDIR /go/src/github.com/aquasecurity/kube-bench/
|
||||
ADD Gopkg.toml Gopkg.lock ./
|
||||
RUN go get -v github.com/golang/dep/cmd/dep && dep ensure -v -vendor-only
|
||||
RUN go get -v github.com/aquasecurity/bench-common
|
||||
RUN go get -v -d github.com/aquasecurity/bench-common
|
||||
ADD main.go .
|
||||
RUN CGO_ENABLED=0 go install -a -ldflags '-w'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user