Docker Build Failing google.golang.org/api/option

て烟熏妆下的殇ゞ 提交于 2020-01-23 08:57:29

问题


In my docker file , I have following Lines

RUN go get -v -u go.mongodb.org/mongo-driver/mongo

RUN go get -d -v ./...

RUN go get google.golang.org/api/option

I am getting following error . Everything was working fine 3 days before.

Step 9/17 : RUN go get google.golang.org/api/option
 ---> Running in ec36bafa25aa
# google.golang.org/api/option
../google.golang.org/api/option/option.go:153:14: undefined: grpc.RoundRobin
../google.golang.org/api/option/option.go:154:42: undefined: grpc.WithBalancer
The command '/bin/sh -c go get google.golang.org/api/option' returned a non-zero code: 2

来源:https://stackoverflow.com/questions/59705647/docker-build-failing-google-golang-org-api-option

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!