build: use sudo chown

This commit is contained in:
winston 2022-07-31 05:22:12 +02:00
parent 5d57ad46f1
commit 543a682cdd
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -42,7 +42,7 @@ RUN mkdir ./neovim && \
# copy the dotfiles # copy the dotfiles
COPY --chown=demo:demo . /home/demo/.local/share/chezmoi COPY --chown=demo:demo . /home/demo/.local/share/chezmoi
# make sure the ownership is correct # make sure the ownership is correct
RUN chown -R demo:demo /home/demo/.local RUN sudo chown -R demo:demo /home/demo/.local
# install them # install them
RUN chezmoi init RUN chezmoi init