Skip to content

Commit

Permalink
Modifies CGO_ENABLED=0 as the ingress-operator fails with the followi…
Browse files Browse the repository at this point in the history
…ng 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)
  • Loading branch information
miheer committed Apr 29, 2024
1 parent 01c6a58 commit 95cce44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 95cce44

Please sign in to comment.