diff --git a/.drone.star b/.drone.star index c671b2f..28320c5 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), ] @@ -50,16 +57,22 @@ def notify(ctx): "docker-build-motsognir-arm64", "docker-build-webtest-amd64", "docker-build-webtest-arm64", + "docker-build-unbound-amd64", + "docker-build-unbound-arm64", "docker-publish-motsognir-amd64", "docker-publish-motsognir-arm64", "docker-publish-webtest-amd64", "docker-publish-webtest-arm64", + "docker-publish-unbound-amd64", + "docker-publish-unbound-arm64", "docker-publish-weekly-motsognir-amd64", "docker-publish-weekly-motsognir-arm64", "docker-publish-weekly-webtest-amd64", "docker-publish-weekly-webtest-arm64", + "docker-publish-weekly-unbound-amd64", + "docker-publish-weekly-unbound-arm64", ], "trigger": { "ref": [ 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 +``` +