Skip to content

Commit

Permalink
fix: build static binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
diafour committed May 21, 2019
1 parent 9af0b4b commit 698e61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ go_build() {

echo "# Building kubedog $VERSION for $os $arch ..."

GOOS=$os GOARCH=$arch \
GOOS=$os GOARCH=$arch CGO_ENABLED=0 \
go build -ldflags="-s -w -X github.com/flant/kubedog/pkg/kubedog.Version=$VERSION" \
-o $outputFile github.com/flant/kubedog/cmd/kubedog

Expand Down

0 comments on commit 698e61e

Please sign in to comment.