We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf08732 + ef88cd0 commit b5607e3Copy full SHA for b5607e3
Makefile
@@ -602,6 +602,7 @@ release-binary: $(RELEASE_DIR) versions.mk build-toolchain ## Release binary
602
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \
603
-w /workspace \
604
$(TOOLCHAIN_IMAGE) \
605
+ git config --global --add safe.directory /workspace; \
606
go build -ldflags '$(LDFLAGS) -extldflags "-static"' \
607
-o $(RELEASE_DIR)/$(notdir $(RELEASE_BINARY))-$(GOOS)-$(GOARCH)$(EXT) $(RELEASE_BINARY)
608
0 commit comments