Skip to content

Conversation

ericb-summit
Copy link
Contributor

Some Dockerfile builds require ssh authentication to perform some operations. Most notably pulling dependencies from private repos. To avoid leaking the ssh credentials in the build layers, docker buildkit supports the --ssh default argument which does a pass-thru of the ssh-agent socket from the host to the builder. This PR defines a new parameter ssh_identity and if set, it temporarily spawns an ssh-agent during the docker build.

@ericb-summit ericb-summit requested a review from xtremerui as a code owner March 30, 2021 22:56
@xtremerui
Copy link
Contributor

Hi could you add a out test in tests/out_test.go if possible?

@JasonDictos
Copy link
Contributor

This fix has been re-implemented here: #364

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants