Ensuring repeatable devcontainer images in GitHub Codespaces
Goal Build a devcontainer that remains identical across multiple Codespace creations, regardless of upstream image updates. Constraints and Uncertainty Codespaces builds containers from devcontainer.json and relies on Docker image tags (e.g., node:18 ). The caching mechanism uses layer hashes but does not expose a way to pin a specific image digest. If the u