问题
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