https://github.com/tilt-dev/dockerignore
A fork of Docker's package for reading and interpreting .dockerignore files
https://github.com/tilt-dev/dockerignore
Last synced: 7 months ago
JSON representation
A fork of Docker's package for reading and interpreting .dockerignore files
- Host: GitHub
- URL: https://github.com/tilt-dev/dockerignore
- Owner: tilt-dev
- License: apache-2.0
- Created: 2020-09-10T19:16:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-22T16:16:48.000Z (over 4 years ago)
- Last Synced: 2025-02-21T23:18:19.285Z (over 1 year ago)
- Language: Go
- Size: 22.5 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dockerignore
[](https://circleci.com/gh/tilt-dev/dockerignore)
[](https://pkg.go.dev/github.com/tilt-dev/dockerignore)
A fork of Docker's package for reading and interpreting .dockerignore files
## Why
[Tilt](https://tilt.dev/) watches files and live-updates containers when they change.
To do this, Tilt needs to understand container inputs (Docker contexts, dockerignores, etc.)
In the beginning, we simply used Docker as a library.
Over time, we wanted to be able to:
- Fix bugs (for example, https://github.com/moby/moby/issues/41433)
- Provide better debugging tools over Docker contexts (for example, to be able
to tell you why a file is included or ignored)
- Allow better optimizations (for example, being able to skip a directory that's ignored)
This library adds features and bug fixes to help.
You're welcome to use it! Ideally, we'd like to see fixes and feature here merged upstream.
## License
Licensed under [the Apache License, Version 2.0](LICENSE)
Originally written by the authors of the Moby Project, https://github.com/moby/moby