]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Fix bandwidth tracking
[dns.git] / Dockerfile
index 72de5d53c7db36526ef5f68cf91a6a4e4d42e673..8799bfb9c3d42871f81b55ffef9c75c506639612 100644 (file)
@@ -3,8 +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
+      libjson-xs-perl \
+      jq \
+      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 . .