]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dockerfile for doc building
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 8 Dec 2014 09:30:01 +0000 (09:30 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 8 Dec 2014 09:30:01 +0000 (09:30 +0000)
pdns/docs/Dockerfile [new file with mode: 0644]

diff --git a/pdns/docs/Dockerfile b/pdns/docs/Dockerfile
new file mode 100644 (file)
index 0000000..6b689b0
--- /dev/null
@@ -0,0 +1,18 @@
+# Dockerfile for building the markdown docs
+#
+# example usage:
+# docs/$ docker build -t pdns-mkdocs .
+# docs/$ cd ../.. # to pdns checkout root
+# pdns/$ docker run  -t -i -v $(pwd):/pdns pdns-mkdocs bash
+# root@07d38c7f88a5:/# useradd -u 1000 peter
+# root@07d38c7f88a5:/# su - peter
+# No directory, logging in with HOME=/
+# $ bash
+# peter@07d38c7f88a5:/$ cd /pdns/pdns/docs
+# peter@07d38c7f88a5:/pdns/pdns/docs$ make html-new/index.html
+# 
+
+FROM ubuntu:14.04
+RUN apt-get update
+RUN apt-get -y install git build-essential vim-tiny pandoc python-pip
+RUN pip install pandocfilters mkdocs