From 0cd3205929f4682716da83ab275c4e130ef44ab1 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Wed, 13 Jul 2022 10:50:27 +0200 Subject: [PATCH] Add unbound Signed-off-by: Christian Richter --- .drone.star | 7 +++++++ README.md | 9 +++++---- unbound/Dockerfile | 5 +++++ unbound/README.md | 26 ++++++++++++++++++++++++++ 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 unbound/Dockerfile create mode 100644 unbound/README.md diff --git a/.drone.star b/.drone.star index c671b2f..91faf35 100644 --- a/.drone.star +++ b/.drone.star @@ -14,6 +14,13 @@ def main(ctx): stepBuildWeekly("amd64", "webtest"), stepBuildWeekly("arm64", "webtest"), + stepPR("amd64", "unbound"), + stepPR("arm64", "unbound"), + stepMergeMaster("amd64", "unbound"), + stepMergeMaster("arm64", "unbound"), + stepBuildWeekly("amd64", "unbound"), + stepBuildWeekly("arm64", "unbound"), + notify(ctx), ] diff --git a/README.md b/README.md index afee8a1..39e9bb2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ This repo contains Dockerfiles used for autobuilding on Dockerhub. No guarantee for completeness or functionality. -|URL|Folder|Description|x86_64|aarch64| -|:--|:-----|:----------|:----:|:-----:| -|[dragonchaser/webtest](https://hub.docker.com/r/dragonchaser/webtest)|webtest|A small container running ruby WebRick and serves static content from /web|x||x| -|[dragonchaser/motsognir](https://hub.docker.com/r/dragonchaser/motsognir) |motsognir|A container for the motsognir gopher server|x||x| +| URL | Folder | Description | x86_64 | aarch64 | +| :-- | :----- | :---------- | :----: | :-----: | +| [dragonchaser/webtest](https://hub.docker.com/r/dragonchaser/webtest) | webtest | A small container running ruby WebRick and serves static content from /web | x | x | +| [dragonchaser/motsognir](https://hub.docker.com/r/dragonchaser/motsognir) | motsognir | A container for the motsognir gopher server | x | x | +| [dragonchaser/unbound](https://hub.docker.com/r/dragonchaser/unbound) | motsognir | A container for unbound dns | x | x | diff --git a/unbound/Dockerfile b/unbound/Dockerfile new file mode 100644 index 0000000..bac8938 --- /dev/null +++ b/unbound/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:latest +LABEL maintainer="dragonchaser " +RUN apt-get update \ + && apt-get -y install unbound netcat +CMD ["unbound-checkconf", "&&", "unbound -d"] diff --git a/unbound/README.md b/unbound/README.md new file mode 100644 index 0000000..eea7ec6 --- /dev/null +++ b/unbound/README.md @@ -0,0 +1,26 @@ +# unbound + +A container for unbound https://github.com/NLnetLabs/unbound + +## Running locally + +**amd64** + +``` +$> docker run \ + -p 53:53 \ + -v /path/to/you/local/unboundfolder/conf:/etc/unbound \ + -v /path/to/you/local/unboundfolder/lib:/var/lib/unbound \ + dragonchaser/unbound:latest-amd64 +``` + +**arm64** + +``` +$> docker run \ + -p 53:53 \ + -v /path/to/you/local/unboundfolder/conf:/etc/unbound \ + -v /path/to/you/local/unboundfolder/lib:/var/lib/unbound \ + dragonchaser/unbound:latest-arm64 +``` +