Skip to content

orisano/dignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dignore

dockerignore generator for monorepo.

Installation

go install github.com/orisano/dignore@latest

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