Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/25869 )
Change subject: util/docker: Add docker container that builds the sphinx documentation ......................................................................
util/docker: Add docker container that builds the sphinx documentation
It's what we use on coreboot.org to update www.coreboot.org/Documentation
Change-Id: I6e5457d2e39a10f14fabd68bbb231a05e2f66f1d Signed-off-by: Patrick Georgi patrick@georgi.software Reviewed-on: https://review.coreboot.org/25869 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Jonathan Neuschäfer j.neuschaefer@gmx.net Reviewed-by: Philipp Deppenwiese zaolin.daisuki@gmail.com Reviewed-by: Martin Roth martinroth@google.com Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net --- A util/docker/docs.coreboot.org/Dockerfile A util/docker/docs.coreboot.org/README.md 2 files changed, 8 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Paul Menzel: Looks good to me, but someone else must approve Philipp Deppenwiese: Looks good to me, approved Jonathan Neuschäfer: Looks good to me, but someone else must approve
diff --git a/util/docker/docs.coreboot.org/Dockerfile b/util/docker/docs.coreboot.org/Dockerfile new file mode 100644 index 0000000..fa2313c --- /dev/null +++ b/util/docker/docs.coreboot.org/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:sid +RUN apt-get update && apt-get install -y make python-sphinx python-recommonmark python-sphinx-rtd-theme +USER nobody +VOLUME /data-in /data-out +ENTRYPOINT bash -c "cd /data-in/Documentation && make sphinx BUILDDIR=/tmp/build && rm -rf /data-out/* && mv /tmp/build/html/* /data-out/" diff --git a/util/docker/docs.coreboot.org/README.md b/util/docker/docs.coreboot.org/README.md new file mode 100644 index 0000000..11c095d --- /dev/null +++ b/util/docker/docs.coreboot.org/README.md @@ -0,0 +1,3 @@ +How to use: + +docker run --rm -v $path-to-coreboot.git:/data-in:ro -v $path-to-html-output:/data-out $image