Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile: allow ssh git urls for named contexts #2865

Merged
merged 1 commit into from
May 18, 2022

Conversation

tonistiigi
Copy link
Member

Fixes docker/buildx#1125

Test frontend:

#syntax=tonistiigi/dockerfile:1.4-git-ssh-fix

In a follow up we should consider defining ssh:// URLs. This is supported in LLB but not in Dockerfile. I tried to enable it but quite a lot of things broke.

@ciaranmcnulty

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@ciaranmcnulty
Copy link

This works for me (with --ssh)

@tonistiigi tonistiigi merged commit 8c452ed into moby:master May 18, 2022
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.

Multiple build contexts - SSH authentication with git contexts
3 participants