]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Add 2021.stateofthemap to DNS
[dns.git] / Dockerfile
index c987603936f6fed9eae3b7ca5579d7c5f4a81a40..8799bfb9c3d42871f81b55ffef9c75c506639612 100644 (file)
@@ -3,10 +3,16 @@ 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.3.0/dnscontrol-Linux -o /usr/local/bin/dnscontrol \
+    && chmod +x /usr/local/bin/dnscontrol \
+    && /usr/local/bin/dnscontrol version
 
 WORKDIR /dns
 ADD . .