From ca1325b427c2e674b737432d8683c699d60d28f2 Mon Sep 17 00:00:00 2001 From: Ivan Matmati Date: Thu, 21 Nov 2024 10:12:24 +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 99d4d9f6..3127287f 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,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