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

feat(#618): Match .dockerignore entry * to all files and directories #630

Merged

Conversation

HofmeisterAn
Copy link
Collaborator

What does this PR do?

Extends the IgnoreFile implementation to support a single * character that matches (ignores) all files and directories. The glob pattern matching * matchs everything except slashes. That behavior is different from the .dockerignore file.

Why is it important?

To align with the Docker CLI.

Related issues

@HofmeisterAn HofmeisterAn merged commit e6dbb63 into develop Oct 23, 2022
@HofmeisterAn HofmeisterAn deleted the feature/618-support-global-wildcard-in-dockerignore branch October 23, 2022 15:46
@HofmeisterAn HofmeisterAn temporarily deployed to production October 23, 2022 15:57 Inactive
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.

Build an image running with Nuke gives TarException
1 participant