Skip to content

Fix Docker build issues on Windows and non-ARM architectures #62

Closed

Description

@EmilLindfors

When attempting to install Claude Code on Windows 11 with an x86_64 architecture system, the dev container build fails with two critical errors:

  1. 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
  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.

Activity

  1. bcherny commented on May 5, 2025

    @bcherny
    Collaborator

    Thanks for the contribution! #91

  2. self-assigned this
    on May 5, 2025
  3. github-actions commented on Aug 9, 2025

    @github-actions

    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.

  4. locked as resolved and limited conversation to collaborators on Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplatform:windowsIssue specifically occurs on Windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions