From aefbc46a05bd6698bdcf0b18c0145ff70d6cd45b Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 6 Jun 2018 17:04:55 +0200 Subject: [PATCH] util/docker/docs.coreboot.org: reduce container size We don't need the .deb files in the image forever Change-Id: I67a56faf8f9466e5162f7662708a5abb2971d2f9 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/26895 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- util/docker/docs.coreboot.org/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/docker/docs.coreboot.org/Dockerfile b/util/docker/docs.coreboot.org/Dockerfile index a475b8cb12..27966ac80d 100644 --- a/util/docker/docs.coreboot.org/Dockerfile +++ b/util/docker/docs.coreboot.org/Dockerfile @@ -1,5 +1,5 @@ FROM debian:stable -RUN apt-get update && apt-get install -y make python-sphinx python-recommonmark python-sphinx-rtd-theme +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/"