Repository navigation
Create devcontainer configuration file - #2090
18488292860-coder wants to merge 2 commits into
Conversation
… postCreateCommand for repo setup
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2d1cf26. Configure here.
| } | ||
| }, | ||
| "postCreateCommand": "if [ -f Gemfile ]; then gem install bundler && bundle install; fi\nif [ -f package.json ]; then npm install; fi\nif [ -f Makefile ]; then make deps || true; fi", | ||
| "remoteUser": "vscode" |
There was a problem hiding this comment.
Wrong remote user for universal image
High Severity
remoteUser is set to vscode, but mcr.microsoft.com/devcontainers/universal:2 only provides a codespace user. Dev Containers and Codespaces cannot attach as that missing user, so the new environment fails to start.
Reviewed by Cursor Bugbot for commit 2d1cf26. Configure here.


Changes
Context
Note
Low Risk
Adds local/CI-adjacent dev environment configuration only; no application or book build logic changes.
Overview
Adds a Dev Containers setup so contributors can open the repo in a standardized VS Code/Codespaces environment.
The new
.devcontainer/devcontainer.jsonuses the universal devcontainer image with Node 18, Ruby 3.1, and git, pre-installs extensions for AsciiDoc, Ruby, YAML, EditorConfig, and GitLens, and runs a post-create step that installs Ruby gems (viabundle installwhen aGemfileis present) and optionallynpm install/make depsif those files exist.Reviewed by Cursor Bugbot for commit 2d1cf26. Bugbot is set up for automated code reviews on this repo. Configure here.