aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-06 17:03:36 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-06 17:03:36 -0800
commit09f81c16c5fec6c140e0fc9e4b8eb10796d0fd37 (patch)
treec1cfd0651a3010aa3bb80052606d10725861643b /Makefile
parentcf175c97523f09b13db984801ba15e35978d1137 (diff)
downloadpandoc-09f81c16c5fec6c140e0fc9e4b8eb10796d0fd37.tar.gz
Set --user in docker run to avoid permission issues.
We were unable previously to write to the artifacts directory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c112d66d..af5b755cc 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,7 @@ checkdocs:
debpkg: man/pandoc.1
docker run -v `pwd`:/mnt \
-v `pwd`/linux/artifacts:/artifacts \
+ --user $(id -u):$(id -g) \
-e REVISION=$(REVISION) \
-w /mnt \
--memory=0 \