From ca0f77739806630ebf30e587d155416f63fd37e3 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sun, 11 Apr 2021 18:52:22 +0200 Subject: [PATCH] meta: update README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 614636b..c172f2a 100644 --- a/README.md +++ b/README.md @@ -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 ```