Skip to content

Commit

Permalink
Merge pull request #376 from akhilerm/fix-glibc-error
Browse files Browse the repository at this point in the history
set CGO_ENABLED=0 for compiling publishing-bot
  • Loading branch information
k8s-ci-robot authored Aug 31, 2023
2 parents 626e891 + f16018d commit eb20f0f
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 @@ -39,7 +39,7 @@ MEMORY_REQUESTS ?= 200Mi
MEMORY_LIMITS ?= 1639Mi
GOOS ?= linux

build_cmd = GO111MODULE=on mkdir -p _output && GOOS=$(GOOS) go build -o _output/$(1) ./cmd/$(1)
build_cmd = mkdir -p _output && GOOS=$(GOOS) CGO_ENABLED=0 go build -o _output/$(1) ./cmd/$(1)
prepare_spec = sed 's,DOCKER_IMAGE,$(DOCKER_REPO),g;s,CPU_LIMITS,$(CPU_LIMITS),g;s,CPU_REQUESTS,$(CPU_REQUESTS),g;s,MEMORY_REQUESTS,$(MEMORY_REQUESTS),g;s,MEMORY_LIMITS,$(MEMORY_LIMITS),g'

SHELL := /bin/bash
Expand Down

0 comments on commit eb20f0f

Please sign in to comment.