]> git.openstreetmap.org Git - dns.git/blobdiff - Dockerfile
Move blogs to lockheed
[dns.git] / Dockerfile
index 8799bfb9c3d42871f81b55ffef9c75c506639612..2993781cdc7a01e70c8e1973ae4b47ae1b1ae1a5 100644 (file)
@@ -8,14 +8,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
       libjson-xs-perl \
       jq \
       less \
-      curl
+      curl \
+      ca-certificates
 
-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
+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"]