From: Peter van Dijk Date: Mon, 8 Dec 2014 09:30:01 +0000 (+0000) Subject: dockerfile for doc building X-Git-Tag: rec-3.7.0-rc1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb16933910ba3c8a77597fd333fee135eb07f06;p=thirdparty%2Fpdns.git dockerfile for doc building --- diff --git a/pdns/docs/Dockerfile b/pdns/docs/Dockerfile new file mode 100644 index 0000000000..6b689b00d1 --- /dev/null +++ b/pdns/docs/Dockerfile @@ -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