Skip to content

Commit

Permalink
fix: disable cgo
Browse files Browse the repository at this point in the history
CGO builds are causing the binaries to be non-launchable on more dated
OS images. This change disables CGO to prevent portability issues.
  • Loading branch information
prichrd committed Jul 4, 2024
1 parent 42f0916 commit bb58c67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ go = docker run --rm -i \
-e "GOARCH=$(GOARCH)" \
-e "GO111MODULE=on" \
-e "GOFLAGS=-mod=vendor" \
-e "CGO_ENABLED=0" \
-e "GOCACHE=$(docker_dir)/target/.cache/go" \
-v "$(CURDIR):$(docker_dir)" \
-w "$(docker_dir)" \
Expand Down

0 comments on commit bb58c67

Please sign in to comment.