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: add dockerignore override support #901

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

tonistiigi
Copy link
Member

Implements moby/moby#12886 (comment) allowing different Dockerfiles to define different subsets of the context files.

Frontend will first check for <path/to/Dockerfile>.dockerignore and if it is found it will be used instead of the root .dockerignore

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

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

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tiborvass tiborvass merged commit b9db1d2 into moby:master Mar 26, 2019
AndiDog added a commit to AndiDog/podman that referenced this pull request Feb 5, 2023
@Mugane
Copy link

Mugane commented Jun 9, 2023

Useless, since you still need to have MULTIPLE dockerfiles in order for this to work.

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

Successfully merging this pull request may close these issues.

5 participants