git clone git@github.com:micahhausler/container-tx.git
Cloning into 'container-tx'...
remote: Counting objects: 165, done.
remote: Total 165 (delta 0), reused 0 (delta 0), pack-reused 165
Receiving objects: 100% (165/165), 140.38 KiB | 0 bytes/s, done.
Resolving deltas: 100% (40/40), done.
fatal: No url found for submodule path 'vendor/github.com/ogier/pflag' in .gitmodules
I don't see a .gitmodules so was surprised it even had any way to know that path was supposed to be a submodule.
But I learned from https://stackoverflow.com/a/4185579/47185 that git stores submodule directories with a special mode '160000'. Running git ls-files --stage | grep 160000 confirms that it is a submodule:
When I cloned the repo, I got this...
I don't see a
.gitmodules
so was surprised it even had any way to know that path was supposed to be a submodule.But I learned from https://stackoverflow.com/a/4185579/47185 that git stores submodule directories with a special mode '160000'. Running
git ls-files --stage | grep 160000
confirms that it is a submodule:I'm guessing you just forgot to add the
.gitmodules
file to git?Anyway, the missing submodule leads to this error when I try to build (following the instructions from the
Dockerfile
):