nanobox-io / nanobox-engine-golang

Engine for running Go apps with Nanobox
https://nanobox.io
MIT License
4 stars 6 forks source link

$GOPATH not set when fetching deps #13

Closed sanderson closed 7 years ago

sanderson commented 7 years ago

Testing an Echo quickstart using the Go engine. Here's the boxfile.yml

run.config:
  engine: golang
  engine.config:
    package: nanobox-echo
    fetch: go get

In the verbose nanobox run output, I get the following when it attempts to go get:

package github.com/labstack/echo: cannot download, $GOPATH not set. For more details see: go help gopath
glinton commented 7 years ago

This should be resolved now in the newest nanobox/build image. Run nanobox update-images and retry