You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was a way to forward the ssh agent during the build so you could perform actions like cloning repos in the Dockerfile. Unfortunately, this is a limitation of docker-py (see docker/docker-py#3178). Is there a workaround for Rocker?
The text was updated successfully, but these errors were encountered:
agyoungs
changed the title
SSH Agent Forwarding during the Build
SSH Agent Forwarding during build
Oct 6, 2023
agyoungs
changed the title
SSH Agent Forwarding during build
SSH agent forwarding during build
Oct 6, 2023
I don't have a workaround for this. There's a fundamental challenge that the builds are supposed to be reproducible. If you're leveraging content from outside the workspace, such as an ssh agent that goes against that philosophy. Which I think is why it's referenced in docker-py ticket as more of a docker engine limitation, that's potentially partially intentional. I'd be happy to integrate the capability from upstream but I don't think that it makes sense to try to force a way around it here. rocker's focus is on dynamically extending builds and improving the runtime experience. Overriding the core build capabilities is stretching the scope more than I would generally want to do.
It would be nice if there was a way to forward the ssh agent during the build so you could perform actions like cloning repos in the Dockerfile. Unfortunately, this is a limitation of docker-py (see docker/docker-py#3178). Is there a workaround for Rocker?
The text was updated successfully, but these errors were encountered: