mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Don't run the plugin, use tinycore & weavedns for tracer app
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user