meta: update README.md

This commit is contained in:
ptrcnull 2021-04-11 18:52:22 +02:00
parent 3a2413e650
commit ca0f777398

View file

@ -2,9 +2,13 @@
## Building packages
The recommended way for building the packages is Docker:
The recommended way for building the packages is Docker.
```
docker build -t builder .
docker run --rm -v "$(pwd):/pwd" -v "$(pwd)/out:/mnt/alpine" -w "/pwd" builder build.sh
Setup:
- ensure that you have the private key in `.abuild/`
- build the image using `docker build -t builder .`
- sync the current repo to a directory called `out`
```bash
docker run --rm -it -v "$(pwd):/pwd" -v "$(pwd)/out:/mnt/alpine" -w "/pwd" builder build.sh
```