Skip to content

Commit 9812e07

Browse files
authored
fix(docker): use safe.directory in image (#148)
1 parent 6cc6d7d commit 9812e07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ RUN npm install -g @anthropic-ai/claude-code@2.0.8 @openai/codex@0.63.0 \
2222
USER node
2323
WORKDIR /workspace
2424

25+
# Mark the bind-mounted workspace as safe for git (addresses CVE-2022-24765 warnings)
26+
RUN git config --global --add safe.directory /workspace
27+
2528
# Keep the container alive if run interactively; the runner execs specific CLIs
2629
CMD ["bash"]

0 commit comments

Comments
 (0)