Docker Community Forums

Share and learn in the Docker community.

Git submodule fails on init

We are getting the following error, which happens only when trying to build on dockerhub.

fatal: not a git repository: /src/xxx/.git/modules/cpython
git submodule update --init --recursive
fatal: not a git repository: /src/xxx/.git/modules/cpython