]> git.openstreetmap.org Git - dns.git/blob - Dockerfile
15a13baad565be6c33eee94500a6033a1dff7b80
[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.20.0/dnscontrol_3.20.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"]