Global .dockerignore
## Problem description Users and developers use different editors and tool to edit, backup and process code, documentation and assets. It is not feasible to catch them all in a project's `.dockerignore`. Instead, a user should be able to blacklist the file of their own toolchain. ## Proposed solution Add a global `.dockerignore`, e.g. at `$HOME/config/docker/dockerignore`, which gets combined with the project's `.dockerignore`. ## References Docker is not the only tool with this problem. The problem is well known in the VCS world. GIT for example accepts the global `core.excludesfile` option which points to a global `.gitignore`. This file is combined with the projects `.gitignore` to blacklist more files. ## Open questions - Where should the config file be located on Windows? - Should the global ignore file virtually appended or prepended to the local file? Does this make a huge different? If so, what are the implications and the pros and cons of the different strategies?
Posted by crepererum on Apr 28, 2015, 9:42 AM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.7,000 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Global .dockerignore
## Problem description Users and developers use different editors and tool to edit, backup and process code, documentation and assets. It is not feasible to catch them all in a project's `.dockerignore`. Instead, a user should be able to blacklist the file of their own toolchain. ## Proposed solution Add a global `.dockerignore`, e.g. at `$HOME/config/docker/dockerignore`, which gets combined with the project's `.dockerignore`. ## References Docker is not the only tool with this problem. The problem is well known in the VCS world. GIT for example accepts the global `core.excludesfile` option which points to a global `.gitignore`. This file is combined with the projects `.gitignore` to blacklist more files. ## Open questions - Where should the config file be located on Windows? - Should the global ignore file virtually appended or prepended to the local file? Does this make a huge different? If so, what are the implications and the pros and cons of the different strategies?
Comments (0)
No comments yet. Start the discussion.