mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-13 07:26:03 +02:00
docs: readme
This commit is contained in:
parent
68fd410f83
commit
fd58e75308
12
README.md
12
README.md
|
@ -47,6 +47,18 @@ NFPM will guess which packager to use based on the target file extension.
|
|||
|
||||
And that's it!
|
||||
|
||||
## Usage as a docker image
|
||||
|
||||
You can run it with docker as well:
|
||||
|
||||
```sh
|
||||
docker run --rm \
|
||||
-v $PWD:/tmp/pkg \
|
||||
goreleaser/nfpm pkg --config /tmp/pkg/foo.yml --target /tmp/pkg/foo.rpm
|
||||
```
|
||||
|
||||
That's it!
|
||||
|
||||
## Usage as lib
|
||||
|
||||
You can look at the code of nfpm itself to see how to use it as a library, or, take
|
||||
|
|
Loading…
Reference in New Issue