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 275d28b + d3e27b4 commit afe0402Copy full SHA for afe0402
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