mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-26 03:53:00 +00:00
[build] Adds CGO_ENABLED=0 and -tags no_openssl to build script
This commit is contained in:
parent
4b88a0293a
commit
c42108e40a
3
build
3
build
@ -26,6 +26,7 @@ fi
|
|||||||
export GO15VENDOREXPERIMENT=1
|
export GO15VENDOREXPERIMENT=1
|
||||||
export GOBIN=${PWD}/bin
|
export GOBIN=${PWD}/bin
|
||||||
export GOPATH=${PWD}/gopath
|
export GOPATH=${PWD}/gopath
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
echo "Building plugins"
|
echo "Building plugins"
|
||||||
go install -ldflags "${LDFLAGS}" "$@" ${REPO_PATH}/multus
|
go install -tags no_openssl -ldflags "${LDFLAGS}" "$@" ${REPO_PATH}/multus
|
||||||
|
Loading…
Reference in New Issue
Block a user