Skip to content

Commit 2ec8824

Browse files
committed
devctr: set safe directory for git
1 parent d26abfc commit 2ec8824

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,5 @@ RUN echo PermitRootLogin yes >> /etc/ssh/sshd_config && \
8686
echo PermitEmptyPasswords yes >> /etc/ssh/sshd_config && \
8787
echo Port 2222 >> /etc/ssh/sshd_config && \
8888
passwd -d root
89+
90+
RUN git config --global --add safe.directory '/workspaces/*'

0 commit comments

Comments
 (0)