]> git.openstreetmap.org Git - dns.git/blob - Dockerfile
Move IT to fastly
[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
13 RUN curl -fsSL https://github.com/StackExchange/dnscontrol/releases/download/v3.3.0/dnscontrol-Linux -o /usr/local/bin/dnscontrol \
14     && chmod +x /usr/local/bin/dnscontrol \
15     && /usr/local/bin/dnscontrol version
16
17 WORKDIR /dns
18 ADD . .
19 RUN make
20
21 VOLUME ["/dns/data"]