diff --git a/plugins/config/Makefile b/plugins/config/Makefile index 74d8ef36e..0d2932927 100644 --- a/plugins/config/Makefile +++ b/plugins/config/Makefile @@ -14,12 +14,12 @@ build-in-docker: clean build: commands subcommands commands: **/**/commands.go - go build $(GO_ARGS) -o commands src/commands/commands.go + CGO_ENABLED=0 go build $(GO_ARGS) -o commands src/commands/commands.go subcommands: $(SUBCOMMANDS) subcommands/%: src/subcommands/*/%.go - go build $(GO_ARGS) -o $@ $< + CGO_ENABLED=0 go build $(GO_ARGS) -o $@ $< clean: rm -rf commands subcommands diff --git a/plugins/network/Makefile b/plugins/network/Makefile index a29d16d79..bb25a4fb7 100644 --- a/plugins/network/Makefile +++ b/plugins/network/Makefile @@ -14,12 +14,12 @@ build-in-docker: clean build: commands subcommands triggers commands: **/**/commands.go - go build $(GO_ARGS) -o commands src/commands/commands.go + CGO_ENABLED=0 go build $(GO_ARGS) -o commands src/commands/commands.go subcommands: $(SUBCOMMANDS) subcommands/%: src/subcommands/*/%.go - go build $(GO_ARGS) -o $@ $< + CGO_ENABLED=0 go build $(GO_ARGS) -o $@ $< clean: rm -rf commands subcommands network-* install post-create post-delete @@ -30,4 +30,4 @@ src-clean: triggers: $(TRIGGERS) triggers/%: src/triggers/*/%.go - go build $(GO_ARGS) -o $@ $< + CGO_ENABLED=0 go build $(GO_ARGS) -o $@ $< diff --git a/plugins/repo/Makefile b/plugins/repo/Makefile index 3940279d1..f8ef7c600 100644 --- a/plugins/repo/Makefile +++ b/plugins/repo/Makefile @@ -14,12 +14,12 @@ build-in-docker: clean build: commands subcommands commands: **/**/commands.go - go build $(GO_ARGS) -o commands src/commands/commands.go + CGO_ENABLED=0 go build $(GO_ARGS) -o commands src/commands/commands.go subcommands: $(SUBCOMMANDS) subcommands/%: src/subcommands/*/%.go - go build $(GO_ARGS) -o $@ $< + CGO_ENABLED=0 go build $(GO_ARGS) -o $@ $< clean: rm -rf commands subcommands