spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

Merge pull request #91 from EmilLindfors/win11Browse files
Fix Docker build issues on Windows and non-ARM architectures
Ben Mann authored on Feb 27, 2025 · GitHub committed on Feb 27, 2025 parents e41a75d + 9b78675 · commit 1a4e0f4d7356
2 changed files+6 -3compared with e41a75d
M.devcontainer/Dockerfile
A.gitattributes
@@ -42,9 +42,10 @@
4242
4343 WORKDIR /workspace
4444
45-RUN wget https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb && \
46- sudo dpkg -i git-delta_0.18.2_arm64.deb && \
47- rm git-delta_0.18.2_arm64.deb
45+RUN ARCH=$(dpkg --print-architecture) && \
46+ wget "https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_${ARCH}.deb" && \
47+ sudo dpkg -i "git-delta_0.18.2_${ARCH}.deb" && \
48+ rm "git-delta_0.18.2_${ARCH}.deb"
4849
4950 # Set up non-root user
5051 USER node
@@ -1,0 +1,2 @@
1+* text=auto eol=lf
2+*.sh text eol=lf