commit | 64a3b1d22a50d95e1970621e2d5a44acf9cd5a26 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Thu Jan 15 09:56:23 2015 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Thu Jan 15 01:45:48 2015 +0000 |
tree | c8904e6b7cc60370137ad938db391354e43d8620 | |
parent | 6208c67acc557f86f8fb2277009d7cb038731c62 [diff] |
sandbox: fix health check, reduce number of instances Change-Id: I906924a881467f2b23f90fd8abb07e7ae201922e Reviewed-on: https://go-review.googlesource.com/2799 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
# build the sandbox image docker build -t sandbox sandbox/
# run the sandbox docker run -d -p 8080:8080 sandbox # get docker host ip, try boot2docker fallback on localhost. DOCKER_HOST_IP=$(boot2docker ip || echo localhost) # run go some code cat /path/to/code.go | go run ./sandbox/client.go | curl --data @- $DOCKER_HOST_IP:8080/compile
To submit changes to this repository, see http://golang.org/doc/contribute.html.