Skip to content

Conversation

@chrislloyd
Copy link
Contributor

@chrislloyd chrislloyd commented Jun 12, 2025

Summary

  • Removed all firewall-related functionality from the claude-code devcontainer feature
  • The firewall functionality was orthogonal to Claude Code's purpose and doesn't belong in this feature
  • Users needing network restrictions can implement firewall rules separately in their own devcontainer configurations
  • Any existing users can either pin their version of the feature. If they have customized it (highly likely) they should probably own that file as any updates here will stomp their changes.

Test plan

Run the basic test scenario to ensure Claude Code CLI still installs correctly without the firewall code.

🤖 Generated with Claude Code

chrislloyd and others added 2 commits June 12, 2025 14:51
The firewall functionality is orthogonal to Claude Code and doesn't belong
in this devcontainer feature. Users who need network restrictions can implement
firewall rules separately in their own devcontainer configurations.

This commit removes all firewall-related code and documentation, simplifying
the feature to focus solely on installing the Claude Code CLI.

Changes:
- Remove firewall option from devcontainer-feature.json
- Remove firewall-related functions and logic from install.sh
- Delete init-firewall.sh script
- Remove firewall test scenarios and test files
- Update NOTES.md to remove firewall documentation

Run the basic test scenario to ensure Claude Code CLI still installs correctly
without the firewall code.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
The firewall feature has been completely removed, so the tests should no
longer check for the existence of the firewall script.

## Test plan
CI should now pass without looking for the firewall script.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@igorkofman igorkofman merged commit b6cff19 into anthropics:main Jun 13, 2025
6 checks passed
@martineizayaga
Copy link

@chrislloyd how can I pin the version of the feature to get the firewall?

@chrislloyd
Copy link
Contributor Author

You can specify version 1.0.5 in your devcontainer.json to pin to the previous version:

"features": {
    "ghcr.io/anthropics/devcontainer-features/claude-code:1.0.5": {}
}

For the moment until we bump, latest continues to point to 1.0.5 too so no immediate changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants