]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Remove fafnir from DNS
[dns.git] / Dockerfile
index 72de5d53c7db36526ef5f68cf91a6a4e4d42e673..c9f7bdd0ddba986c7965751dd9e40165d9de7ef8 100644 (file)
@@ -3,11 +3,19 @@ FROM debian:stable
 RUN apt-get update && apt-get install -y --no-install-recommends \
       make \
       libxml-treebuilder-perl \
+      libyaml-libyaml-perl \
       libyaml-perl \
-      libjson-xs-perl
+      libjson-xs-perl \
+      jq \
+      less \
+      curl
+
+RUN curl -fsSL https://github.com/StackExchange/dnscontrol/releases/download/v3.9.0/dnscontrol-Linux -o /usr/local/bin/dnscontrol \
+    && chmod +x /usr/local/bin/dnscontrol \
+    && /usr/local/bin/dnscontrol version
 
 WORKDIR /dns
 ADD . .
-RUN make
+RUN make preview
 
 VOLUME ["/dns/data"]