Skip to content

Commit

Permalink
Disable cgo in aws builds (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Jun 22, 2023
1 parent e85dd9c commit 8a3dc3b
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 @@ -7,7 +7,7 @@ tools:

build:
mkdir -p ./aws/tf/files
GOOS=linux GOARCH=amd64 go build -o ./aws/tf/files/pg-db-admin ./aws/
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./aws/tf/files/pg-db-admin ./aws/
# Run build on gcp to ensure a successful build, we discard it
GOOS=linux GOARCH=amd64 go build -o ./gcp/tf/files/pg-db-admin ./gcp/; rm -f ./gcp/tf/files/pg-db-admin

Expand Down

0 comments on commit 8a3dc3b

Please sign in to comment.