You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, docker builds should exclude common patterns from ADD / COPY directives:
*Dockerfile*, including the standard Dockerfile path, as well as any user custom Dockerfile.<extension>, Dockerfile-<extension>, <environment>.Dockerfile, <environment>-Dockerfile, etc. auxiliary configurations
Positive matches from git ls-files, including the per-directory .gitignore system and gitignore --global per-user system. The latter is a scalable way to maintain OS and editor specific exclusion patterns, without having to track thousands of these depending on random contributor machine setups. The Go library https://github.com/go-git/go-git can help manage that.
Positive matches from ignore configurations in Subversion, Mercurial, Perforce, and other alternative version control systems.
The text was updated successfully, but these errors were encountered:
Description
By default, docker builds should exclude common patterns from
ADD
/COPY
directives:*Dockerfile*
, including the standardDockerfile
path, as well as any user customDockerfile.<extension>
,Dockerfile-<extension>
,<environment>.Dockerfile
,<environment>-Dockerfile
, etc. auxiliary configurationsgit ls-files
, including the per-directory .gitignore system and gitignore --global per-user system. The latter is a scalable way to maintain OS and editor specific exclusion patterns, without having to track thousands of these depending on random contributor machine setups. The Go library https://github.com/go-git/go-git can help manage that.The text was updated successfully, but these errors were encountered: