commit | cadbb20a62ad01569ee6c04707c5c92fb76db3ad | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Wed Oct 24 14:10:53 2018 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Wed Oct 24 23:25:09 2018 +0000 |
tree | 0db69f3b4b2dcefec9104f45f04571080d576c84 | |
parent | ad3cdb956e904d1db6e36e47a0ecd8f733023604 [diff] |
Dockerfile: update golang.org/x/talks/... import path CL 141317 moved the talk content in the content/ subdirectory. This CL follows up on that change by updating an import path accordingly. It fixes the following build error: Step 52/61 : RUN GOOS=nacl GOARCH=amd64p32 go get [...] golang.org/x/talks/2016/applicative/google [...] [...]: cannot find package "golang.org/x/talks/2016/applicative/google" in any of: /usr/local/go/src/golang.org/x/talks/2016/applicative/google (from $GOROOT) /go/src/golang.org/x/talks/2016/applicative/google (from $GOPATH) The command [...] returned a non-zero code: 1 Change-Id: I0b711d32023066a8b4a16ceb4cbe2c7b79d66f77 Reviewed-on: https://go-review.googlesource.com/c/144477 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This subrepository holds the source for the Go playground: https://play.golang.org/
# build the image docker build -t playground .
docker run --name=play --rm -d -p 8080:8080 playground # run some Go code cat /path/to/code.go | go run client.go | curl -s --upload-file - localhost:8080/compile
gcloud --project=golang-org --account=person@example.com app deploy app.yaml
To submit changes to this repository, see https://golang.org/doc/contribute.html.