From 00c94018e010b8178c67787c78a1cf59e678fbb9 Mon Sep 17 00:00:00 2001 From: velvettear Date: Fri, 20 Oct 2023 13:19:16 +0200 Subject: [PATCH] extended readme --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a48725b..83e36b7 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,22 @@ build .apk files for [unbound](https://nlnetlabs.nl/projects/unbound) with support for as cache backend [redis](https://redis.io) for [alpine linux](https://alpinelinux.org/). -**installation on alpine linux:** +## usage & configuration + +there are two possible options to build a specific version: + +1. you can specify the environment variable `VERSION` to build a specific version. if the environment variable is unspecified it will default to `latest`. + +2. [download](https://nlnetlabs.nl/downloads/unbound/) an `.zip` or `.tar.gz` archive and put it in the `unbound/src` subfolder **(dont forget to rebuild the image)**. + +### docker: + +`docker run --rm -it -e VERSION=latest -v .build/:/build ` + +### docker-compose: + +`docker-compose up` + +## installation on alpine linux: + `apk add --no-cache --allow-untrusted .apk` \ No newline at end of file