Open egeneralov opened 6 years ago
Can you please explain what exactly you trying to achieve with docker in here?
Согласно инструкции вот так не работает на UBUNTU 18.04:
env GOOS=linux GOARCH=amd64 go build -v github.com/tonymadbrain/fcgi_stat_getter
Error:
can't load package: package github.com/tonymadbrain/fcgi_stat_getter: cannot find package "github.com/tonymadbrain/fcgi_stat_getter" in any of:
/usr/lib/go-1.10/src/github.com/tonymadbrain/fcgi_stat_getter (from $GOROOT)
/root/go/src/github.com/tonymadbrain/fcgi_stat_getter (from $GOPATH)
Вот так работает: (it's work)
$ env GOOS=linux GOARCH=amd64 go get -v github.com/tonymadbrain/fcgi_stat_getter
in readme we can see:
$ env GOOS=linux GOARCH=amd64 go build -v github.com/tonymadbrain/fcgi_stat_getter
but for clean users (like
docker run -it --rm golang
) it must be:$ env GOOS=linux GOARCH=amd64 go get -v github.com/tonymadbrain/fcgi_stat_getter