commit | b0bb4c447c31d693f9cad33cd4ec6c9e75a0488b | [log] [tgz] |
---|---|---|
author | Johan Euphrosine <proppy@google.com> | Wed Dec 17 12:00:26 2014 -0800 |
committer | Johan Euphrosine <proppy@google.com> | Mon Dec 22 22:16:11 2014 -0800 |
tree | 27c270b3e1a2bf63986b79d948cb709c1b1d7e3e | |
parent | dba9ba1953c6f95bd9804316f6e625243fbe1614 [diff] |
playground: add sandbox and nacl base image Change-Id: If6c2893ef8df63a3005ec85075db2e9df0cbf993
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
# build the golang:nacl base image docker build -t golang:nacl gonacl/ # build the sandbox server 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.