grant icon indicating copy to clipboard operation
grant copied to clipboard

Add devcontainer configuration for Grant Development

Open RohanRusta21 opened this issue 2 months ago • 2 comments

Added the .devcontainer folder to provide a consistent, isolated development and testing environment. This helps developers and testers quickly set up their workspace with all required tools and dependencies.

RohanRusta21 avatar Nov 06 '25 08:11 RohanRusta21

Thanks @RohanRusta21 - can you link me any docs or just generate information about this pattern? We do a bunch of bootstrapping and work for development already in our tool repos at anchore and I'd like to learn more about this

spiffcs avatar Nov 07 '25 21:11 spiffcs

@spiffcs Sure! Here are some key resources about devcontainers:

Documentation:

  • VS Code Dev Containers: https://code.visualstudio.com/docs/remote/containers
  • GitHub Codespaces: https://docs.github.com/en/codespaces

Benefits this brings:

  • Consistent development environment across all team members
  • Quick onboarding for new contributors
  • Isolated dependencies that don't conflict with local system
  • Reproducible builds and testing

How it complements existing bootstrap scripts:

  • Provides containerized isolation while still leveraging your existing tooling
  • Can incorporate your current bootstrap scripts in the Dockerfile or post-create commands
  • Adds IDE configuration and debugging support

The devcontainer configuration I added uses your existing tooling while providing the containerization benefits.

RohanRusta21 avatar Nov 08 '25 03:11 RohanRusta21