Skip to content

Commit

Permalink
Explicitly enable CGO
Browse files Browse the repository at this point in the history
Addresses CVE-2023-3089

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
  • Loading branch information
mprahl authored and openshift-merge-robot committed Jul 6, 2023
1 parent 6004b36 commit 4f275f8
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 @@ -160,7 +160,7 @@ gosec-scan: gosec

.PHONY: build
build:
@go build -o build/_output/bin/$(IMG) main.go
CGO_ENABLED=1 go build -o build/_output/bin/$(IMG) main.go

############################################################
# images section
Expand Down

0 comments on commit 4f275f8

Please sign in to comment.