Skip to content

Commit ca1325b

Browse files
ivanmatmatioktalz
authored andcommitted
MINOR: add support to binary statically compiled
1 parent b536263 commit ca1325b

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
@@ -79,7 +79,7 @@ build-pebble:
7979
### Can be used for example to use `go replace` and build with a local library,
8080
.PHONY: build-dev
8181
build-dev:
82-
GOOS=$(GOSS) GOARCH=$(GOARCH) go build .
82+
GOOS=$(GOSS) GOARCH=$(GOARCH) CGO_ENABLED='0' go build .
8383
docker build -t haproxytech/kubernetes-ingress --build-arg TARGETPLATFORM=$(TARGETPLATFORM) -f build/Dockerfile.dev .
8484

8585
.PHONY: publish

0 commit comments

Comments
 (0)