在Docker映像上显式更改Go路径

when I run dep ensure

/home/jenkins/workspace/myproject-voter is not within a known GOPATH/src

we have go installed on this docker image , I know that the project is not cloned to go/src but my question is if via set env or something I can do some trick to overcome this issue ?

查看全部
douquan9826
douquan9826
2018/12/30 09:03
  • docker
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复