Skip to content

Commit

Permalink
fix: avoid dubious ownership git warning (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
SiPaRadix authored Jun 11, 2024
1 parent aa2e59e commit 08c7fcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions {{ cookiecutter.__project_name_kebab_case }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ RUN --mount=type=cache,target=/var/cache/apt/ \
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- "--yes" && \
usermod --shell /usr/bin/zsh user && \
echo 'user ALL=(root) NOPASSWD:ALL' > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user
RUN git config --system --add safe.directory '*'
USER user

# Install the development Python dependencies in the virtual environment.
Expand Down

0 comments on commit 08c7fcd

Please sign in to comment.