diff options
author | Patrick Georgi <patrick@georgi.software> | 2018-06-06 17:04:55 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-07 15:08:58 +0000 |
commit | aefbc46a05bd6698bdcf0b18c0145ff70d6cd45b (patch) | |
tree | 8b904bca7081e7d773ddd5ebbdfddf812850ad3d /util/docker | |
parent | 6e25feff70298646fe4dd070c35ec7f8f31b611c (diff) |
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 <patrick@georgi.software>
Reviewed-on: https://review.coreboot.org/26895
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/docker')
-rw-r--r-- | util/docker/docs.coreboot.org/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
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/" |