Skip to content

Commit

Permalink
devctr: set safe directory for git
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 12, 2024
1 parent d26abfc commit 2ec8824
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ RUN echo PermitRootLogin yes >> /etc/ssh/sshd_config && \
echo PermitEmptyPasswords yes >> /etc/ssh/sshd_config && \
echo Port 2222 >> /etc/ssh/sshd_config && \
passwd -d root

RUN git config --global --add safe.directory '/workspaces/*'

0 comments on commit 2ec8824

Please sign in to comment.