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
Add ssh to build #234
Add ssh to build #234
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with some minor notes
Do I understand this correctly? This PR just adds the possibility to specify |
@zaucker adding the flag to the |
implementation in docker/commose should not be a big deal, as we can rely on previous implementation by |
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
…ebacks Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
build.md
Outdated
build: | ||
context: . | ||
ssh: | ||
default # mount the default ssh agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default # mount the default ssh agent | |
- default # mount the default ssh agent |
or
[default]
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome ✅ Overjoyed to see SSH support coming to Compose 🙌 I've left a typo fix and some non-blocking comments inline. Feel free to land once the former is addressed.
Thank you so much @EricHripko for your review, will address you comments before merging |
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
What this PR does / why we need it:
Introduce
ssh
attribute to thebuild
section.This allows the usage of SSH authentification when building an image (i.e., cloning a private repo...)
Which issue(s) this PR fixes:
This PR is part of the #233 proposal