I’m getting the error “/bin/sh: git: not found” when running ‘docker build’.
My bash shell knows where git is:
Also /usr/local/bin is the first item in my $PATH. But /bin/sh can’t find git.
How can I tell /bin/sh where git is located?
Edited to add:
Using macOS 10.14.6 (Mojave), Docker version 20.10.2, build 2291f61