feat: use config json

This commit is contained in:
2020-11-15 12:40:15 +08:00
parent f6efe6ec59
commit 7f01fc75cb
5 changed files with 74 additions and 30 deletions

View File

@@ -1,3 +1,15 @@
# dockerbuild
Docker build tool, build software using docker
Docker build tool, build software using docker
Config file:
* `~/.dockerbuild.json`
* `/etc/dockerbuild.json`
```json
echo '{
"image": "rust:1.47",
"mirror": "git://mirrors.ustc.edu.cn/crates.io-index"
}' > ~/.dockerbuild.json
```