make dns resolution work in weave container

by using go's internal DNS resolver.

NB: this relies on go's std library having been compiled with the
netgo build tag, e.g.

   sudo go install -tags netgo -a std

issue #93
This commit is contained in:
Matthias Radestock committed 2014-10-09 19:33:58 +01:00
1 parent 8083779f21
commit 7b02365de8
1 file changed
+2 -2
+2 -2
View File
@@ -6,8 +6,8 @@ SUDO=sudo
all: docker-image
weaver: ../*.go main.go
go get
go build -ldflags '-extldflags "-static"'
go get -tags netgo
go build -ldflags '-extldflags "-static"' -tags netgo
.PHONY: docker-image
docker-image: /var/tmp/weave.tar