https://github.com/orisano/dignore
dockerignore generator for monorepo
https://github.com/orisano/dignore
ci docker docker-build monorepo
Last synced: about 1 year ago
JSON representation
dockerignore generator for monorepo
- Host: GitHub
- URL: https://github.com/orisano/dignore
- Owner: orisano
- License: mit
- Created: 2018-11-08T05:48:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T03:07:16.000Z (about 2 years ago)
- Last Synced: 2025-05-07T20:04:48.851Z (about 1 year ago)
- Topics: ci, docker, docker-build, monorepo
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - orisano/dignore - dockerignore generator for monorepo (Go)
README
# dignore
dockerignore generator for monorepo.
## Installation
```bash
go install github.com/orisano/dignore@latest
```
## How to use
```bash
$ 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
```bash
$ docker run orisano/dignore serviceA serviceB
```
## Author
Nao Yonashiro (@orisano)
## License
MIT