shorten proxy entrypoint

...so that the default output of the likes of `docker ps` shows some
of the real entrypoint/command.

Closes #768.
This commit is contained in:
Matthias Radestock committed 2015-05-28 06:35:10 +01:00
1 parent e950d37ed2
commit fc9475592d
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import (
var (
containerIDRegexp = regexp.MustCompile("^/v[0-9\\.]*/containers/([^/]*)/.*")
weaveWaitEntrypoint = []string{"/home/weavewait/weavewait"}
weaveWaitEntrypoint = []string{"/w/w"}
)
func callWeave(args ...string) ([]byte, error) {
+2 -2
View File
@@ -16,9 +16,9 @@ WORKDIR /home/weave
ADD ./weave /home/weave/
ADD ./sigproxy /home/weave/
ADD ./weaveproxy /home/weave/
ADD ./weavewait /home/weavewait/weavewait
ADD ./weavewait /w/w
ADD ./docker.tgz /
VOLUME /home/weavewait
VOLUME /w
ENTRYPOINT ["/home/weave/sigproxy", "/home/weave/weave"]