]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Add community.osm.org
[dns.git] / Dockerfile
index c987603936f6fed9eae3b7ca5579d7c5f4a81a40..c9f7bdd0ddba986c7965751dd9e40165d9de7ef8 100644 (file)
@@ -3,13 +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 \
       jq \
-      less
+      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"]