1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/webhook/Makefile

15 lines
279 B
Makefile
Raw Normal View History

2015-11-05 03:32:10 +00:00
.PHONY: webhook
2015-11-05 10:22:30 +00:00
export CGO_ENABLED=0
2015-11-05 03:32:10 +00:00
export GOPATH = /tmp/go
export GOOS = linux
export GOARCH = amd64
webhook:
go get -d github.com/adnanh/webhook
go build --ldflags '-s -extldflags "-static"' -i -o webhook github.com/adnanh/webhook
clean:
rm -rf $(GOPATH)
rm -f webhook