From c251b99f8cb8f61a1f5e239618caca5787f10512 Mon Sep 17 00:00:00 2001
From: Andreas Herten <a.herten@fz-juelich.de>
Date: Tue, 10 May 2022 14:09:16 +0200
Subject: [PATCH] update docker string

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9fce3b9..c663bdf 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ subnotebooks: $(SUBNOTEBOOKS)
 
 %.pdf: %.html $(DEP_PRESENTATION)
 	# This needs to have artificially large paper size in order to fix bug https://github.com/astefanutti/decktape/issues/151#issuecomment-456166075
-	docker run --rm -t -v $(PWD):/slides astefanutti/decktape --size "2560x1440" reveal $< $@
+	docker run --rm -t --user $(id -u $USER):$(id -g $USER) -v $(PWD):/slides astefanutti/decktape --size "2560x1440" reveal $< $@
 
 Introduction-to-Pandas--slides.ipynb: $(MASTER_NOTEBOOK)
 	notebook-splitter --keep task --keep solution --keep onlypresentation --remove onlytask --remove onlysolution --remove nopresentation -o $@ $< 
-- 
GitLab