summaryrefslogtreecommitdiff
path: root/util/docker/doc.coreboot.org/Dockerfile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi.software>2018-06-06 13:23:25 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-07 15:10:17 +0000
commit9101608e85998073dc0eb2e1238b6b113e8f65f2 (patch)
tree93ea7b3a380c7e445a0ffc0626e29fa17beb4381 /util/docker/doc.coreboot.org/Dockerfile
parentaefbc46a05bd6698bdcf0b18c0145ff70d6cd45b (diff)
util/docker: rename docs.c.o to doc.c.o
Make the directory name match the name of the subdomain. Change-Id: I2dcf2385e6d953b7fe02caef72413149a332ec24 Signed-off-by: Patrick Georgi <patrick@georgi.software> Reviewed-on: https://review.coreboot.org/26887 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/docker/doc.coreboot.org/Dockerfile')
-rw-r--r--util/docker/doc.coreboot.org/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/docker/doc.coreboot.org/Dockerfile b/util/docker/doc.coreboot.org/Dockerfile
new file mode 100644
index 0000000000..27966ac80d
--- /dev/null
+++ b/util/docker/doc.coreboot.org/Dockerfile
@@ -0,0 +1,5 @@
+FROM debian:stable
+RUN apt-get update && apt-get install -y make python-sphinx python-recommonmark python-sphinx-rtd-theme && apt-get clean
+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/"