File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 11go :
22 # This must match .circle/config.yml.
33 version : 1.21
4+ cgo : true
45repository :
56 path : github.com/prometheus-community/postgres_exporter
67build :
Original file line number Diff line number Diff line change @@ -238,12 +238,8 @@ common-docker-manifest:
238238promu: $(PROMU)
239239
240240$(PROMU):
241- @echo ">> building PROMU"
242- @echo $FIRST_GOPATH
243241 $(eval PROMU_TMP := $(shell mktemp -d))
244242 curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
245- # sed -i '/^go:/a \ \ cgo: true' $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
246- # cat $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
247243 mkdir -p $(FIRST_GOPATH)/bin
248244 cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
249245 rm -r $(PROMU_TMP)
You can’t perform that action at this time.
0 commit comments