Support submodules when building from a gh repo

Hey, I was thinking if automatically cloning a repo is supported, submodules should be included if existed. `Dockerfile` might be using some files in submodule(s) in that repo.