]> git.openstreetmap.org Git - dns.git/blob - Dockerfile
Use default TTL for TXT records
[dns.git] / Dockerfile
1 FROM debian:stable
2
3 RUN apt-get update && apt-get install -y --no-install-recommends \
4       make \
5       libxml-treebuilder-perl \
6       libyaml-libyaml-perl \
7       libyaml-perl \
8       libjson-xs-perl \
9       jq \
10       less \
11       curl \
12       ca-certificates
13
14 RUN curl -fsSL https://github.com/StackExchange/dnscontrol/releases/download/v3.13.0/dnscontrol_3.13.0_amd64.deb -o /tmp/dnscontrol.deb \
15     && apt install /tmp/dnscontrol.deb -y
16
17 WORKDIR /dns
18 ADD . .
19 RUN make preview
20
21 VOLUME ["/dns/data"]