From ececb595884ae5232dbcbec7fe84ea1ac016d80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=BCttemann?= Date: Mon, 25 Sep 2023 17:01:36 +0200 Subject: [PATCH] Use root user as a cache workaround --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe40136..62f8d28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,6 @@ RUN apk add --update --no-cache \ pip install --no-cache-dir pre-commit=="${PRE_COMMIT_VERSION}" && \ gem install --no-document mdl -v "${MDL_VERSION}" && \ mkdir /data && \ - adduser -D -g user user + git config --global --add safe.directory /data -USER user:user WORKDIR /data