add weavewait

binocarlos/wait-for-weave is Apache2 licensed, so attribution/etc applies. Thus, we
re-invent the wheel here.
This commit is contained in:
Paul Bellamy committed 2015-05-19 10:34:45 +01:00
1 parent 9389001a1d
commit 444b1482fa
5 files changed
+37 -6

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ func addToVolumesFrom(config *docker.HostConfig, mounts ...string) error {
func setWeaveWaitEntrypoint(image, container *docker.Config) {
container.Cmd = combineEntrypoints(image, container)
container.Entrypoint = []string{"/home/weavewait/wait-for-weave"}
container.Entrypoint = []string{"/home/weavewait/weavewait"}
}
func combineEntrypoints(image, container *docker.Config) []string {