Patrick Georgi has uploaded this change for review. ( 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 --- A util/docker/docs.coreboot.org/Dockerfile A util/docker/docs.coreboot.org/README.md 2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/25869/1
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