Skip to content

Conversation

@RenSilvaAU
Copy link
Contributor

@RenSilvaAU RenSilvaAU commented Nov 28, 2025

Overview

Adds a complete Dev Container configuration to streamline development setup and ensure consistent tooling across all contributors.

Changes

Dev Container Configuration

  • .devcontainer/Dockerfile: Custom image based on mcr.microsoft.com/devcontainers/base:bullseye with .NET SDK 2.1 pre-installed
  • .devcontainer/devcontainer.json: Configures PowerShell feature, VS Code extensions (PowerShell, ESLint), and post-create automation
  • .devcontainer/postcreate.sh: Automated setup script that:
    • Installs nvs (Node Version Switcher) and Node.js 20.19.0
    • Installs Rush 5.112.2 globally
    • Configures shell profiles for persistent tool availability
    • Verifies all tool installations

Documentation Updates

  • docs/development.md: Complete rewrite to:
    • Add "Getting Started with Dev Containers" section as the recommended approach
    • Update tool versions to match actual requirements (Node.js 20.19.0, Rush 5.112.2, PowerShell 7.5+, .NET SDK 2.1)
    • Convert all examples from Windows-specific PowerShell to cross-platform PowerShell
    • Improve clarity and organization of setup instructions

Version Specifications

  • rush.json: Locked to Rush 5.112.2 (stable version for this repository)

Benefits

  • Zero-setup development: Contributors can start coding immediately after opening in VS Code
  • Consistent environment: All developers use identical tool versions
  • Cross-platform: Works on Windows, macOS, and Linux
  • No local installation pollution: All tools contained within the container

Testing

Verified all tools are correctly installed and available:

  • ✅ Node.js 20.19.0
  • ✅ npm 10.7.0
  • ✅ Rush 5.112.2
  • ✅ PowerShell 7.5.4
  • ✅ .NET SDK 2.1.818

Successfully ran rush update and rush rebuild in the dev container.

@RenSilvaAU
Copy link
Contributor Author

@dolauli - I believe I have addressed all the comments, may I have your review?

@RenSilvaAU RenSilvaAU requested a review from dolauli November 28, 2025 03:49
@dolauli dolauli merged commit 05130af into Azure:main Nov 28, 2025
3 checks passed
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