A CircleCI build can output the following message during the Checkout code step.
Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI's native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed.
This is because either the SSH or Git CLI client is not available. These can either be built into the Docker image or installed during the build.
For example, in a Debian based system(Ubuntu etc) they can be installed via
- run: apt-get update && apt-get install -y openssh-client git
On Alpine based images, they can be installed via
apk add --update openssh-client git
CircleCI also provides Pre-Built CircleCI Docker Images which come with SSH, Git, and several other tools required by the build agent.