1 KiB
1 KiB
unbound-redis-apk
build .apk files for unbound with support for as cache backend redis for alpine linux.
usage & configuration
there are two possible options to build a specific version:
-
you can specify the environment variable
VERSION
to build a specific version. if the environment variable is unspecified it will default tolatest
. -
download an
.zip
or.tar.gz
archive and put it in theunbound/src
subfolder (dont forget to rebuild the image).
docker
docker run --rm -it -e VERSION=latest -v .build/:/build <imageid>
docker-compose
docker-compose up
installation of local packages on alpine linux
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