opencurve / curve

Curve is a sandbox project hosted by the CNCF Foundation. It's cloud-native, high-performance, and easy to operate. Curve is an open-source distributed storage system for block and shared file storage.
https://opencurve.io
Apache License 2.0
2.32k stars 521 forks source link

Nit(build): download dependency unsuccessfully #2978

Open zztaki opened 8 months ago

zztaki commented 8 months ago

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

Describe the solution you'd like (描述你期望的解决方法) mount /etc/hosts to docker

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图) When I build using make build stor=fs dep=1, it will compile etcdclient and download go1.12.8 from golang.google.cn or dl.google.com first.

However, since we did not mount the local hosts to docker. In docker, it may not be able to resolve the correct DNS address, resulting in the failure to successfully download go1.12.8.

image

I will submit a PR soon :)