From d2105c8894fa08b2d869cf16b8f318ab99c648bb Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 27 Mar 2025 12:52:07 +0100 Subject: [PATCH] build(backend/Dockerfile): prevent chown of backend files by allow-different-user in stack config --- backend/Makefile | 1 - backend/stack.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Makefile b/backend/Makefile index 5915ecea4..b294f317f 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -9,7 +9,6 @@ endif .PHONY: dependencies dependencies: - chown -R `id -un`:`id -gn` "$(PROJECT_DIR)"; \ stack install hpack; stack install yesod-bin; \ stack build -j2 --only-dependencies diff --git a/backend/stack.yaml b/backend/stack.yaml index aaba0bfd0..1813ffb76 100644 --- a/backend/stack.yaml +++ b/backend/stack.yaml @@ -9,6 +9,7 @@ flags: rebuild-ghc-options: true #ghc-options: # "$everything": -fno-prof-auto +allow-different-user: true local-bin-path: ./bin