Atlassian Bamboo repository caching causes issue with docker:
error: object directory $BAMBOO_HOME/xml-data/build-dir/_git-repositories-cache/8454c6d4af76ff5751c9e2ecf0bd2d2371695eec/.git/objects does not exist; check .git/objects/info/alternates
error: Could not read d55f59e8de25d61533151b43092751e40269b31d
Note that we don't use docker agent because of permission issues, and the need for elevated privilege and capabilities.