Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/node": {
"version": "18"
},
"ghcr.io/devcontainers/features/ruby": {
"version": "3.1"
},
"ghcr.io/devcontainers/features/git": {}
},
"customizations": {
"vscode": {
"extensions": [
"asciidoctor.asciidoctor-vscode",
"rebornix.ruby",
"redhat.vscode-yaml",
"editorconfig.editorconfig",
"eamodio.gitlens"
]
}
},
"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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2d1cf26. Configure here.

}