From 7a30a160b32baa4ecc86c29b9a83c07b9e00d34e Mon Sep 17 00:00:00 2001 From: velvettear Date: Mon, 23 Oct 2023 16:02:22 +0200 Subject: [PATCH] added onliner --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 83e36b7..3b0c0aa 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,18 @@ there are two possible options to build a specific version: 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 `docker run --rm -it -e VERSION=latest -v .build/:/build ` -### docker-compose: +### docker-compose `docker-compose up` -## installation on alpine linux: +## installation of local packages on alpine linux -`apk add --no-cache --allow-untrusted .apk` \ No newline at end of file +`apk add --no-cache --allow-untrusted .apk` + +## wrapup / oneliner + +`DOCKER_IMAGE=docker.registry.velvettear.de/unbound-redis-apk:latest && docker run --rm -it -e VERSION=$UNBOUND_VERSION -v ./:/build $DOCKER_IMAGE && docker rmi $DOCKER_IMAGE` \ No newline at end of file