I would love to use Docker but keep finding edge cases that block its usage. Today the hurdle is with our private repositories and docker build.
Someone raised a ticket 6 months ago addressing this, Forward ssh key agent into container #6396 which would nicely solve this problem by giving access to SSH_AUTH_SOCK. But only a little discussion has been had on the ticket since and it doesn’t look like it is even in the docker road-map right now. So I am left either:
- Ignoring the security risks.
- Taking on the ticket myself.
- Providing another way of adding dependencies.