Skip to content

Conversation

@richardkiene
Copy link
Contributor

Summary

  • Adds VS Code Extension Marketplace domains to the firewall allowlist
  • Updates documentation to reflect all currently allowed domains
  • Enables VS Code extension installation within the devcontainer

Changes

Firewall Script

Added the following domains to BUILTIN_DOMAINS in init-firewall.sh:

  • marketplace.visualstudio.com - Main marketplace API
  • gallery.vsassets.io - Extension asset downloads
  • gallerycdn.vsassets.io - CDN for extension assets
  • vscode.blob.core.windows.net - Additional storage endpoint

Documentation

  • Updated README.md to list all allowed domains including Python and VS Code marketplaces
  • Updated CLAUDE.md with detailed firewall domain information

Why

VS Code extensions couldn't be installed in the devcontainer due to network isolation blocking access to the marketplace servers. This change allows developers to install extensions from within the container while maintaining security.

Testing

After this PR is merged and the image is rebuilt:

  1. Open a project in the devcontainer
  2. Try installing a VS Code extension
  3. Extension should install successfully

- Added marketplace.visualstudio.com for main marketplace API
- Added gallery.vsassets.io and gallerycdn.vsassets.io for extension downloads
- Added vscode.blob.core.windows.net for additional storage
- Updated documentation in README.md and CLAUDE.md to reflect all allowed domains

This enables VS Code extension installation within the secure devcontainer environment.
@richardkiene richardkiene merged commit a14d9ca into main Aug 26, 2025
4 checks passed
@richardkiene richardkiene deleted the feat/add-vscode-marketplace-domains branch August 26, 2025 01:18
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.

2 participants