Skip to content

Commit

Permalink
app-admin/kube-bench: Add -mod vendor flag
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <[email protected]>
  • Loading branch information
mrueg committed Oct 7, 2019
1 parent 5fc9cc2 commit 8ea01fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-admin/kube-bench/kube-bench-0.0.34.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RESTRICT="test"

src_compile() {
pushd src/${EGO_PN} || die
GOPATH="${S}" go build -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
GOPATH="${S}" go build -mod vendor -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
popd || die
}

Expand Down

0 comments on commit 8ea01fa

Please sign in to comment.