Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Disable CGO in go build (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhuang authored and k8s-ci-robot committed Sep 28, 2018
1 parent 5045372 commit 3c75b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/images/controller/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ echo "Change working directory to ${BUILD_DIR}"
cd ${BUILD_DIR}

echo "Build go binaries"
go build github.com/kubeflow/kubebench/controller/cmd/configurator
go build github.com/kubeflow/kubebench/controller/cmd/reporter
GOOS=linux CGO_ENABLED=0 go build github.com/kubeflow/kubebench/controller/cmd/configurator
GOOS=linux CGO_ENABLED=0 go build github.com/kubeflow/kubebench/controller/cmd/reporter

echo "Authenticate gcloud account"
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
Expand Down

0 comments on commit 3c75b50

Please sign in to comment.