added onliner

This commit is contained in:
Daniel Sommer 2023-10-23 16:02:22 +02:00
parent 00c94018e0
commit 7a30a160b3

View file

@ -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 <imageid>`
### docker-compose:
### docker-compose
`docker-compose up`
## installation on alpine linux:
## installation of local packages on alpine linux
`apk add --no-cache --allow-untrusted <package>.apk`
`apk add --no-cache --allow-untrusted <package>.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`