Don't run the plugin, use tinycore & weavedns for tracer app

This commit is contained in:
Tom Wilkie
2016-05-11 11:25:56 +02:00
parent 0bea9990cd
commit 7a4a7fbafc
4 changed files with 8 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ set -ex
readonly ARG="$1"
if ! $(weave status 1>/dev/null 2>&1); then
weave launch
WEAVE_NO_PLUGIN=y weave launch
fi
eval $(weave env)

View File

@@ -4,6 +4,10 @@ set -ex
readonly ARG="$1"
if ! $(weave status 1>/dev/null 2>&1); then
WEAVE_NO_PLUGIN=y weave launch
fi
eval $(weave env)
start_container() {

View File

@@ -1,4 +1,4 @@
FROM python:2.7
FROM tatsushid/tinycore-python:2.7
MAINTAINER Weaveworks Inc <help@weave.works>
WORKDIR /home/weave
ADD requirements.txt /home/weave/

View File

@@ -25,7 +25,7 @@ def do_redis():
def do_qotd():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
s.connect(("qotd", 4446))
s.connect(("qotd.weave.local", 4446))
s.send("Hello")
return s.recv(1024)
finally:
@@ -38,7 +38,7 @@ def do_search():
return r.text
def do_echo(text):
r = requests.get("http://echo/", data=text)
r = requests.get("http://echo.weave.local/", data=text)
return r.text
def ignore_error(f):