We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Information is incorrect
Per https://docs.docker.com/build/concepts/context/#matching:
Docker also supports a special wildcard string ** that matches any number of directories (including zero)
but looking at https://github.com/moby/patternmatcher/blob/main/patternmatcher.go#L322 the implication seems to be that foo/** will match any file or directory that is a child of directory foo. Meaning, ** will match paths that end with a file, not just a directory.
foo/**
foo
**
Is my interpretation correct?
https://docs.docker.com/build/concepts/context/#matching
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this a docs issue?
Type of issue
Information is incorrect
Description
Per https://docs.docker.com/build/concepts/context/#matching:
but looking at https://github.com/moby/patternmatcher/blob/main/patternmatcher.go#L322 the implication seems to be that
foo/**
will match any file or directory that is a child of directoryfoo
. Meaning,**
will match paths that end with a file, not just a directory.Is my interpretation correct?
Location
https://docs.docker.com/build/concepts/context/#matching
Suggestion
No response
The text was updated successfully, but these errors were encountered: