Dockerfile (#269)

Provide docker images for go-toml tools.

Ref: https://github.com/pelletier/go-toml/pull/267
This commit is contained in:
Thomas Pelletier
2019-04-10 13:43:12 +01:00
committed by GitHub
parent 63909f0a90
commit d95bfe020e
5 changed files with 57 additions and 0 deletions
+17
View File
@@ -101,6 +101,23 @@ Go-toml provides two handy command line tools:
tomljson --help
```
### Docker image
Those tools are also availble as a Docker image from
[dockerhub](https://hub.docker.com/r/pelletier/go-toml). For example, to
use `tomljson`:
```
docker run -v $PWD:/workdir pelletier/go-toml tomljson /workdir/example.toml
```
Only master (`latest`) and tagged versions are published to dockerhub. You
can build your own image as usual:
```
docker build -t go-toml .
```
## Contribute
Feel free to report bugs and patches using GitHub's pull requests system on