Commit Graph
18 Commits
Author SHA1 Message Date
Matthias Radestock cf9c479727 check that the go stdlib was built with the required options
AFAICT, go build tags are a compile-time only construct, so there is
no way to query whether a certain package was built with a specific
tag. However, the 'netgo' tag triggers conditional compilation of the
cgo_stubs.go file, and that file name ends up in the executable. (we
could have looked for specific symbols in the 'net.a' library instead,
but that requires locating it first, which is more hassle than it is
worth)

issue #93
2014-10-09 20:57:56 +01:00
Matthias Radestock 7b02365de8 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
2014-10-09 19:33:58 +01:00
David Wragg 399af7b0cb Comment typo fix 2014-10-07 14:43:07 +01:00
David Wragg c4c06a2dc0 Don't use /tmp for big files
/tmp is on tmpfs on some systems, so it's better to use /var/tmp
for large files.
2014-10-06 19:35:24 +01:00
David Wragg 89fa310c00 Provide a way to bypass the use of sudo
It's not necessary to be root to run "docker" commands, if your
user is in the "docker" group.
2014-10-06 19:34:12 +01:00
Matthias Radestock 393b5cd459 automatically fetch dependencies 2014-09-30 13:13:41 +01:00
Bryan Boreham 6ed2ab10a1 Only push two tags - latest and git-commit - to DockerHub 2014-09-22 17:44:13 +01:00
rade 5cc0eb4554 Merge pull request #49 from bboreham/10_display_version
tag published image with git revision

fixes #10
2014-09-15 16:01:10 +01:00
Bryan Boreham 25c4adf68e Don't need :latest on tag command 2014-09-15 16:00:08 +01:00
Bryan Boreham f57058f627 Use git commit hash instead of requiring user to enter a version tag on 'make publish' 2014-09-15 15:33:09 +01:00
Bryan Boreham 7e8ac8c4d0 don't need ':latest' on the build line 2014-09-15 15:04:22 +01:00
Bryan Boreham 18f65dc344 Add 'publish' target to tag and push release 2014-09-15 14:40:57 +01:00
Bryan Boreham 244188776f Add tag to build command, so you can do "make tag=x.xx" to add a version number to the image 2014-09-15 14:26:13 +01:00
Bryan Boreham 39003233ea Remove version/build-date info from weaver binary 2014-09-15 14:05:15 +01:00
Matthias Radestock c845ba7872 remove detritus
we haven't depended on pipework for a while
2014-09-13 20:48:49 +01:00
Bryan Boreham 21bec9fc78 Add a -version command to weave and weaver, implemented by embedding the build date by the makefile 2014-09-12 17:53:06 +01:00
Matthias Radestock 516c1363e3 eliminate dependency on pipework
...and docker-ns (though we still leave the script around since it's
handy for debugging), and arping (as I have yet to encounter a
situation where it was required)
2014-08-22 18:14:17 +01:00
Matthias Radestock 6320866961 rename exe to 'weaver' and script to 'weave' 2014-08-21 16:05:17 +01:00