rename exe to 'weaver' and script to 'weave'

This commit is contained in:
Matthias Radestock committed 2014-08-21 16:05:17 +01:00
1 parent a6f66d49b2
commit 6320866961
8 files changed
+26 -26

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
.DEFAULT: all
all: docker-image
weaver: ../*.go main.go
go build -ldflags '-extldflags "-static"'
.PHONY: docker-image
docker-image: /tmp/weave.tar
/tmp/weave.tar: Dockerfile weaver
sudo docker build -t zettio/weave .
sudo docker save zettio/weave > /tmp/weave.tar
pipework:
wget --no-check-certificate -nv https://raw.github.com/jpetazzo/pipework/master/pipework
chmod +x pipework
clean:
-sudo docker rmi zettio/weave
rm -f weaver pipework /tmp/weave.tar