From c78becca00cdd278e81401c829f8fd5cf5c7f704 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 10 Sep 2016 12:54:42 +0300
Subject: [PATCH] - Use Knot resolver instead of Unbound (results in smaller
 image but nothing more, updated to Stretch).

---
 Dockerfile    | 4 ++--
 entrypoint.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 78718c6..748681f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
-FROM debian:jessie
+FROM debian:stretch
 ENV DEBIAN_FRONTEND noninteractive
 RUN apt-get update && \
-    apt-get install -y unbound unbound-host dnsutils dma bsd-mailx
+    apt-get install -y knot-dnsutils knot-host knot-resolver dma bsd-mailx
 COPY entrypoint.sh /entrypoint.sh
 ENTRYPOINT ["/entrypoint.sh"]
 CMD ["/bin/bash", "--login"]
diff --git a/entrypoint.sh b/entrypoint.sh
index 4116993..9083753 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 set -eu
-service unbound start
+service kresd start
 echo 'nameserver 127.0.0.1' > /etc/resolv.conf
 exec $@
-- 
GitLab