mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
15 lines
279 B
Makefile
15 lines
279 B
Makefile
.PHONY: webhook
|
|
|
|
export CGO_ENABLED=0
|
|
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
|