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:
1 parent
8083779f21
commit
7b02365de8
1 file changed
+2
-2
+2
-2
@@ -6,8 +6,8 @@ SUDO=sudo
|
|||||||
all: docker-image
|
all: docker-image
|
||||||
|
|
||||||
weaver: ../*.go main.go
|
weaver: ../*.go main.go
|
||||||
go get
|
go get -tags netgo
|
||||||
go build -ldflags '-extldflags "-static"'
|
go build -ldflags '-extldflags "-static"' -tags netgo
|
||||||
|
|
||||||
.PHONY: docker-image
|
.PHONY: docker-image
|
||||||
docker-image: /var/tmp/weave.tar
|
docker-image: /var/tmp/weave.tar
|
||||||
|
|||||||
Reference in new issue
Block a user