build: specify ownership for .local directory

This commit is contained in:
winston 2022-07-31 05:19:28 +02:00
parent c1389a1a00
commit 5d57ad46f1
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -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