added onliner
This commit is contained in:
parent
00c94018e0
commit
7a30a160b3
1 changed files with 8 additions and 4 deletions
12
README.md
12
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 <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`
|
Loading…
Reference in a new issue