]> git.openstreetmap.org Git - dns.git/commitdiff
Add Dockerfile for building from templates
authorGrant Slater <grant.slater@wearefriday.com>
Mon, 13 Aug 2018 15:44:18 +0000 (16:44 +0100)
committerGrant Slater <grant.slater@wearefriday.com>
Mon, 13 Aug 2018 15:44:18 +0000 (16:44 +0100)
.dockerignore [new file with mode: 0644]
Dockerfile [new file with mode: 0644]

diff --git a/.dockerignore b/.dockerignore
new file mode 100644 (file)
index 0000000..0892daa
--- /dev/null
@@ -0,0 +1,6 @@
+data/*
+json/*
+kml/*
+origins/*
+pingdom.yml
+statuscake.yml
diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..72de5d5
--- /dev/null
@@ -0,0 +1,13 @@
+FROM debian:stable
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+      make \
+      libxml-treebuilder-perl \
+      libyaml-perl \
+      libjson-xs-perl
+
+WORKDIR /dns
+ADD . .
+RUN make
+
+VOLUME ["/dns/data"]