From: Grant Slater Date: Mon, 13 Aug 2018 15:44:18 +0000 (+0100) Subject: Add Dockerfile for building from templates X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/bb037e9028d68d264164c6baaca019d11b8c2c28 Add Dockerfile for building from templates --- diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..0892daa --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +data/* +json/* +kml/* +origins/* +pingdom.yml +statuscake.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..72de5d5 --- /dev/null +++ b/Dockerfile @@ -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"]