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: apply dockerignore on loading local contexts #2550

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

tonistiigi
Copy link
Member

When loading named context from a local directory first see if it contains a .dockerignore file and apply it as a filter if it does.

Signed-off-by: Tonis Tiigi [email protected]

@AkihiroSuda
Copy link
Member

Is this a breaking change, potentially?

@tonistiigi
Copy link
Member Author

@AkihiroSuda No, only for the docker/dockerfile-upstream:master image that was merged a week ago.

@tonistiigi tonistiigi merged commit 7b27cb6 into moby:master Jan 14, 2022
@crazy-max crazy-max added this to the v0.10.0 milestone Feb 4, 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.

3 participants