Go has a system variable set location for the build location (which is strict). This is either your home directory +go/src/ or the GOPATH.
In your case you have to set your GOPATH:
ENV GOPATH /myApp
Go has a system variable set location for the build location (which is strict). This is either your home directory +go/src/ or the GOPATH.
In your case you have to set your GOPATH:
ENV GOPATH /myApp