/dockerignore

A fork of Docker's package for reading and interpreting .dockerignore files

Primary LanguageGoApache License 2.0Apache-2.0

dockerignore

Build Status PkgGoDev

A fork of Docker's package for reading and interpreting .dockerignore files

Why

Tilt 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, moby/moby#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

Originally written by the authors of the Moby Project, https://github.com/moby/moby