Skip to content

build: add devcontainer configuration

this PR adds two metadata files:

  1. ./.devcontainer/.devcontainer.json provides metadata to GitHub Codespaces and other tools (like Docker Desktop's preview Developer Environments feature) about how to build and configure a developer environment.
  2. ./.devcontainer/Dockerfile a very simple Dockerfile that the .devcontainer.json file uses to build from. This will consume the Docker image I've built out (pending https://github.com/nodejs/admin/issues/641 on moving it into nodejs/devcontainer) that will be built and published nightly.

These should add a relatively low maintenance burden - the Dockerfile is literally two LOC (most of the work for this is done in the nodejs/devcontainer repo!) and the .devcontainer.json is effectively a configuration file that represents some settings. It could be stripped down or more thoroughly built out if folks want, though I'd generally like to request that we err on configuring for a broader audience than just project members (think the audience at a Code and Learn event) while also serving ourselves.

This PR should not land until https://github.com/nodejs/admin/issues/641 lands.

Merge request reports

Loading