Skip to content

Commit 4b286d0

Browse files
authored
Fix build on linux. (#27)
Disable CGO so that we don't depend on dynamically linked shared libraries that aren't available in, e.g., alpine.
1 parent 2e2cf03 commit 4b286d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test:
44
go test -v ./...
55

66
build-collector:
7-
go tool builder --config collector/manifest.yaml
7+
CGO_ENABLED=0 go tool builder --config collector/manifest.yaml
88

99
clean:
1010
@echo "Cleaning build artifacts..."

0 commit comments

Comments
 (0)