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

Fix Docker build issues on Windows and non-ARM architecturesBrowse files
Emil Lindfors authored on Feb 25, 2025 parent ab49f11 · commit 9b78675c47f6
2 changed files+6 -3compared with ab49f11
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