]> git.openstreetmap.org Git - dns.git/commitdiff
Update Dockerfile to use dnscontrol deb
authorGrant Slater <git@firefishy.com>
Sat, 4 Dec 2021 22:13:51 +0000 (22:13 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 4 Dec 2021 22:13:51 +0000 (22:13 +0000)
Dockerfile

index c9f7bdd0ddba986c7965751dd9e40165d9de7ef8..2993781cdc7a01e70c8e1973ae4b47ae1b1ae1a5 100644 (file)
@@ -8,11 +8,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
       libjson-xs-perl \
       jq \
       less \
       libjson-xs-perl \
       jq \
       less \
-      curl
+      curl \
+      ca-certificates
 
 
-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
+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 . .
 
 WORKDIR /dns
 ADD . .