-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly ignore files from .dockerignore (#508)
* Exclude files from dockerignore when uploading context tarball * clean up ignore patterns * Refactor ignorePatterns into separate function. Fix dockerignore path bug in hash function. * dockerignore details * unskipping dotnet test * Do not ignore Dockerfile * Improve readability for dockerfile exists condition * address review feedback * undo excluding Dockerfiles * Do not dockerignore and * Add . to includeFiles * Add warning for build files potentially being copied to an image when running in buildkit mode and attempting to dockerignore * use length of ignorefiles to send warning to user * tone down message
- Loading branch information
1 parent
e6c4038
commit 83e176a
Showing
4 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters