dockerignore generator for monorepo
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
main.go

README.md

dignore

dockerignore generator for monorepo.

Installation

go get -u github.com/orisano/dignore

How to use

$ ls -1
serviceA
serviceB
serviceC
serviceD
serviceE

$ dignore -o - serviceA serviceB
serviceA/some_rules
serviceB/node_modules
serviceC
serviceD
serviceE

$ dignore serviceA serviceB
$ docker build -f serviceA/Dockerfile .

or

$ docker run orisano/dignore serviceA serviceB

Author

Nao YONASHIRO (@orisano)

License

MIT