You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix Docker build issues on Windows and non-ARM architectures #62
When attempting to install Claude Code on Windows 11 with an x86_64 architecture system, the dev container build fails with two critical errors:
Architecture mismatch: The Dockerfile attempts to install the ARM64 version of git-delta, resulting in the following error:
ERROR: failed to solve: process "/bin/sh -c wget https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb && sudo dpkg -i git-delta_0.18.2_arm64.deb && rm git-delta_0.18.2_arm64.deb" did not complete successfully: exit code: 1
Script execution failure: After fixing the architecture issue, the container fails to execute the firewall initialization script:
Running the postCreateCommand from devcontainer.json...
sudo: unable to execute /usr/local/bin/init-firewall.sh: No such file or directory
postCreateCommand from devcontainer.json failed with exit code 1
I've submitted a PR (#61 ) that addresses these issues by making the container build process architecture-aware and fixing Windows line ending problems.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
bcherny commentedon May 5, 2025
Thanks for the contribution! #91
github-actions commentedon Aug 9, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.