13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-06-28 16:00:44 +00:00

Add -buildvcs=false to openapi2jsonschema-go build

This commit is contained in:
Yann Hamon 2026-06-04 21:11:06 +02:00
parent 0f144bb9e6
commit 54ba0c7021

View file

@ -13,7 +13,7 @@ local-build:
go build -o bin/openapi2jsonschema .
local-build-static:
CGO_ENABLED=0 GOOS=$(shell go env GOOS) GOARCH=$(shell go env GOARCH) GO111MODULE=on go build -trimpath -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/openapi2jsonschema .
CGO_ENABLED=0 GOOS=$(shell go env GOOS) GOARCH=$(shell go env GOARCH) GO111MODULE=on go build -trimpath -buildvcs=false -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/openapi2jsonschema .
# Mount the repo root so scripts/fixtures/ is reachable from the container.
docker-test: