From 07f1023316d2cce3b48b60e162d3a17eabdeda5d Mon Sep 17 00:00:00 2001 From: 18488292860-coder <260275082+18488292860-coder@users.noreply.github.com> Date: Sat, 12 Sep 2026 04:56:01 +0630 Subject: [PATCH 1/2] Create devcontainer.json --- .devcontainer/devcontainer.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..39bbd2681 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": {} +} From 2d1cf26eb564c0569a3889bbe86d6444fb3ecc20 Mon Sep 17 00:00:00 2001 From: 18488292860-coder <260275082+18488292860-coder@users.noreply.github.com> Date: Sat, 12 Sep 2026 11:52:03 +0800 Subject: [PATCH 2/2] devcontainer: add features (node, ruby, git), VS Code extensions, and postCreateCommand for repo setup --- .devcontainer/devcontainer.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 39bbd2681..c6052f97f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,4 +1,25 @@ { "image": "mcr.microsoft.com/devcontainers/universal:2", - "features": {} + "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" }