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

Expose dockerui context detection functions as public #3769

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Apr 3, 2023

Buildx uses these functions, so it makes sense to expose these so that we don't re-implement them and cause drift over time (which we have already done).

See docker/buildx#1710 (comment):

We probably also want to update detectGitContext to align with buildkit, but we should do that by exposing that method to be public first (will open a buildkit-side PR to do that).

@jedevc jedevc requested review from tonistiigi and crazy-max April 3, 2023 10:05
Buildx uses these functions, so it makes sense to expose these so that
we don't re-implement them and cause drift over time (which we have
already done).

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc force-pushed the public-detect-context-funcs branch from 78c0f8d to f17630e Compare April 3, 2023 10:43
@jedevc jedevc merged commit 333ee91 into moby:master Apr 11, 2023
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.

2 participants