From 39a2c260452e493db1a5f517001f1e7c3a075a5a Mon Sep 17 00:00:00 2001 From: miheer Date: Mon, 1 Apr 2024 14:45:48 +1100 Subject: [PATCH] Modifies CGO_ENABLED=0 as the ingress-operator fails with the following error when CGO_ENABLED=1 % oc logs ingress-operator-7fc8f75988-4kr79 -n openshift-ingress-operator Defaulted container "ingress-operator" out of: ingress-operator, kube-rbac-proxy ingress-operator: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ingress-operator) ingress-operator: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ingress-operator) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2b24d7b555..99eeefd799 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ GO_GCFLAGS ?= -gcflags=all="-N -l" endif GO=GO111MODULE=on GOFLAGS=-mod=vendor go -GO_BUILD_RECIPE=CGO_ENABLED=1 $(GO) build -o $(BIN) $(GO_GCFLAGS) $(MAIN_PACKAGE) +GO_BUILD_RECIPE=CGO_ENABLED=0 $(GO) build -o $(BIN) $(GO_GCFLAGS) $(MAIN_PACKAGE) TEST ?= TestAll