summaryrefslogtreecommitdiff
path: root/util/hugo/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2017-05-26 17:43:58 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-05-26 18:36:19 +0200
commitdc5eea1cfa05d3916eae1bc64006f5d8ff204978 (patch)
treebcc126d390e59a293fdd1ccffa02fd2e93483705 /util/hugo/Makefile
parent73108ded48f6a58deb08e01c1ae8fd35baf39d95 (diff)
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 <patrick@georgi-clan.de> Reviewed-on: https://review.coreboot.org/19929 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/hugo/Makefile')
-rw-r--r--util/hugo/Makefile2
1 files changed, 1 insertions, 1 deletions
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