]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Update mkgeo to use the new StatusCake API
[dns.git] / Dockerfile
index c987603936f6fed9eae3b7ca5579d7c5f4a81a40..2993781cdc7a01e70c8e1973ae4b47ae1b1ae1a5 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 \
+      ca-certificates
+
+RUN curl -fsSL https://github.com/StackExchange/dnscontrol/releases/download/v3.13.0/dnscontrol_3.13.0_amd64.deb -o /tmp/dnscontrol.deb \
+    && apt install /tmp/dnscontrol.deb -y
 
 WORKDIR /dns
 ADD . .
-RUN make
+RUN make preview
 
 VOLUME ["/dns/data"]