From 12410e57cfe61a3be7cb04bcfbe51e6e7976fbe6 Mon Sep 17 00:00:00 2001 From: gaelL Date: Wed, 30 Sep 2020 17:54:13 +0200 Subject: [PATCH] Makefile: migrate to static binary build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f3165950..7b82a85e 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ help: ## Show this help .PHONY: build build: ## Builds the binary - GO111MODULE=on CGO_ENABLED=1 GOARCH=amd64 go build -o $(BINARY) $(GO_LDFLAGS) $(REPO_PATH) + GO111MODULE=on CGO_ENABLED=0 GOARCH=amd64 go build -o $(BINARY) $(GO_LDFLAGS) $(REPO_PATH) .PHONY: generate-local-client generate-local-client: ## Generate client from local swagger file SWAGGER_FILE path