Skip to content

Commit cde9010

Browse files
committed
MINOR: add support to binary statically compiled
1 parent 0ee13ad commit cde9010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ build-pebble:
7373
### Can be used for example to use `go replace` and build with a local library,
7474
.PHONY: build-dev
7575
build-dev:
76-
GOOS=$(GOSS) GOARCH=$(GOARCH) go build .
76+
GOOS=$(GOSS) GOARCH=$(GOARCH) CGO_ENABLED='0' go build .
7777
docker build -t haproxytech/kubernetes-ingress --build-arg TARGETPLATFORM=$(TARGETPLATFORM) -f build/Dockerfile.dev .
7878

7979
.PHONY: publish

0 commit comments

Comments
 (0)