Hi all,
I'm running Dagger from a self-made Docker image.
Docker container : By starting an interactive shell session in my Docker container, I can do things like git clone git@my_server:myrepo.git i.e. I can clone my private repo from my Docker container. SSH is well working in the container.
Dagger container: When running a Dagger function, let's say dagger call php-lint, Dagger is then running a new container. I've added in my code a await container.terminal() command so I jump in a shell session. From there, I can't access to my repo which sounds normal because my ~/.ssh/id_ed25519 key (and ~/.ssh/known_hosts file) is not present in my Dagger container. (in fact, I need to run composer install or yarn install to download private dependencies).
What should I do please to enable Dagger to reuse my SSH configuration?
Thanks a lot