I want to build via the docker-compose an image that uses my private key for cloning private git repos.
docker-compose
git
More or less the compose becomes as fol
add ARGS in your Dockerfile like
ARGS
ARGS RSA
For it to be read upon build