Build docker image from the source code

I am trying build the docker image from the source code on mac os.

run the the command in the main dir: docker build .

Everytime the building progress stopped at below step:

Does anyone meet this error before?