https://github.com/matsubara0507/dockwright
CLI for building Dockerfile
https://github.com/matsubara0507/dockwright
docker haskell haskell-application
Last synced: 2 months ago
JSON representation
CLI for building Dockerfile
- Host: GitHub
- URL: https://github.com/matsubara0507/dockwright
- Owner: matsubara0507
- License: mit
- Created: 2018-05-18T00:00:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T07:44:40.000Z (about 5 years ago)
- Last Synced: 2025-03-28T18:21:50.904Z (about 1 year ago)
- Topics: docker, haskell, haskell-application
- Language: Haskell
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# dockwright
[](https://github.com/matsubara0507/dockwright/actions/workflows/build.yaml)
CLI for building Dockerfile from template and config yaml.
see [example](example)
```
$ dockwright --help
dockwright [options] [config-file]
-h --help Show this help text
-v --verbose Enable verbose mode
--version Show version
-d --default Dump default config
--echo[=ENV] Show fetched env after build
--tags Fetch docker image tags from DockerHub
--new-tags Fetch new tags from tags config
--with-name Append image name to display tag
```
## Development
build docker image
```
$ stack --docker build -j 1 Cabal # if out of memory in docker
$ stack --docker --local-bin-path=./bin install
$ docker build -t matsubara0507/dockwright . --build-arg local_bin_path=./bin
```
run
```
$ docker run --rm -v `pwd`/example:/work matsubara0507/dockwright dockwright .dockwright.yaml
```