Skip to content

Commit 67f6a73

Browse files
authored
Go build with CGO_ENABLED=0 to enable support for minimal base OS (#1777)
1 parent f60d8cf commit 67f6a73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ build-image-multi-arch:
7676
$(shell pwd)
7777

7878
build:
79-
go build -mod=readonly -trimpath -v -ldflags="$(GO_LDFLAGS)" -o ./bin/${GO_BINARY_NAME} ./cmd/appgw-ingress
79+
CGO_ENABLED=0 go build -mod=readonly -trimpath -v -ldflags="$(GO_LDFLAGS)" -o ./bin/${GO_BINARY_NAME} ./cmd/appgw-ingress
8080

8181
lint-all: lint lint-helm
8282

0 commit comments

Comments
 (0)