From dc5eea1cfa05d3916eae1bc64006f5d8ff204978 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 26 May 2017 17:43:58 +0200 Subject: [PATCH] util/hugo: mark source mounts read-only hugo has no need to write there, it should only write to the output directory. Change-Id: Ie320f5017feccfa2e9ecba3c802e040487b44d67 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/19929 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/hugo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hugo/Makefile b/util/hugo/Makefile index d49c57d7e9..9a95536367 100644 --- a/util/hugo/Makefile +++ b/util/hugo/Makefile @@ -10,4 +10,4 @@ themes/hugo-material-docs: git clone https://github.com/digitalcraftsman/hugo-material-docs.git themes/hugo-material-docs public: themes/hugo-material-docs - docker run --rm -it -v $$PWD:/src -v $$PWD/../../Documentation:/src/content -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir + docker run --rm -it -v $$PWD:/src:ro -v $$PWD/../../Documentation:/src/content:ro -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir