From cde9010cb0faaf3ed69f4bec6e4017ec1c8a3bdb Mon Sep 17 00:00:00 2001 From: Ivan Matmati Date: Thu, 21 Nov 2024 10:31:12 +0100 Subject: [PATCH] MINOR: add support to binary statically compiled --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9fed5e2f..a676ab74 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ build-pebble: ### Can be used for example to use `go replace` and build with a local library, .PHONY: build-dev build-dev: - GOOS=$(GOSS) GOARCH=$(GOARCH) go build . + GOOS=$(GOSS) GOARCH=$(GOARCH) CGO_ENABLED='0' go build . docker build -t haproxytech/kubernetes-ingress --build-arg TARGETPLATFORM=$(TARGETPLATFORM) -f build/Dockerfile.dev . .PHONY: publish