From 5d57ad46f1f22bdc4395802813fb26bdf9f2f6f6 Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 31 Jul 2022 05:19:28 +0200 Subject: [PATCH] build: specify ownership for `.local` directory --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 74c7371..5e88fc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,8 @@ RUN mkdir ./neovim && \ # copy the dotfiles COPY --chown=demo:demo . /home/demo/.local/share/chezmoi +# make sure the ownership is correct +RUN chown -R demo:demo /home/demo/.local # install them RUN chezmoi init