build: add devcontainer configuration

PR-URL: https://github.com/nodejs/node/pull/40825
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Tierney Cyren 2021-11-15 18:39:09 -05:00 committed by Rich Trott
parent 595b2b3fd2
commit 0c5f253339
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{
"name": "Node.js Core Developer Environment",
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"dockerFile": "Dockerfile",
"initializeCommand": "docker system prune -f -a",
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh",
"args": ["-l"]
}
}
}
}

1
.devcontainer/Dockerfile Normal file
View File

@ -0,0 +1 @@
FROM nodejs/devcontainer:nightly

2
.gitignore vendored
View File

@ -7,6 +7,8 @@
.*
# Exclude specific dotfiles that we want to track.
!deps/**/.*
!.devcontainer/
!.devcontainer/.devcontainer.json
!test/fixtures/**/.*
!.clang-format
!.cpplint