Commit Graph
6 Commits
Author SHA1 Message Date
Joyee Cheung bc9ffc32bd build: update devcontainer.json to use paired nix env
Refs: https://github.com/nodejs/devcontainer/pull/22
PR-URL: https://github.com/nodejs/node/pull/61414
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
2026-01-19 22:34:55 +00:00
Joyee Cheung ace8f6d60c doc: update devcontainer.json and add documentation
The previous .devcontainer.json configuration was outdated and
contained personal configurations that were not needed to run a
dev container. This updates the structure so that it's put in
.devcontainer/base/devcontainer.json based on the recommended
setup in GitHub's documentation. The official image now publishes
both arm64 and amd64 images, and devcontainer tools should be
able to pick up the right one without extra arguments.

This also adds documentation on how to use the container.

Refs: https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#devcontainerjson
PR-URL: https://github.com/nodejs/node/pull/60472
Refs: https://github.com/nodejs/devcontainer
Refs: https://hub.docker.com/r/nodejs/devcontainer
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2025-11-03 18:26:58 +00:00
Aviv Keller 19d2cee62c meta: update devcontainer to the latest schema
PR-URL: https://github.com/nodejs/node/pull/54347
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-08-23 14:20:51 +00:00
Aviv Keller dc609f5a81 meta: remove initializeCommand from devcontainer
PR-URL: https://github.com/nodejs/node/pull/53137
Fixes: https://github.com/nodejs/node/issues/53129
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-05-26 12:34:11 +00:00
Serg Kryvonos 5fb6305971 build: fix for VScode "Reopen in Container"
PR-URL: https://github.com/nodejs/node/pull/51271
Reviewed-By: Tierney Cyren <hello@bnb.im>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-12-31 01:26:30 +00:00
Tierney Cyren 0c5f253339 build: add devcontainer configuration
PR-URL: https://github.com/nodejs/node/pull/40825
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-04-22 09:02:28 -07:00