Hackweek refactor of Go Playground.
- Allow Third-Party Dependencies in Go Playground
- Auto-fetch third-party dependencies
- Disable network/filesystem controls (aka NaCl)
- Adapt deployment for Layer0, refactor data persistence to mongodb
- Add Auth0 Frontend for authentication (not done)
- Use internal domain name (not done)
# build the image
docker build -t playground .
docker run --privileged --rm -d -p 8000-8999:8000-8999 playground
# run go some code
cat /path/to/code.go | go run client.go | curl --data @- localhost:8080/compile
- If you're using
docker-machine
, replacelocalhost
with the IP of your Docker server (typically192.168.99.100
)