[coreboot-gerrit] Change in coreboot[master]: util/docker: Add docker container that builds the sphinx documentation

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Fri Apr 27 22:01:58 CEST 2018


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 at georgi.software>
Reviewed-on: https://review.coreboot.org/25869
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Reviewed-by: Martin Roth <martinroth at google.com>
Reviewed-by: Paul Menzel <paulepanter at 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

-- 
To view, visit https://review.coreboot.org/25869
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6e5457d2e39a10f14fabd68bbb231a05e2f66f1d
Gerrit-Change-Number: 25869
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180427/53d8a133/attachment.html>


More information about the coreboot-gerrit mailing list