Quantcast
Channel: User Norbert - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Answer by Norbert for Building Go project from Dockerfile says package not in GOROOT

$
0
0

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

Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>