Skip to content

Commit 0c5f253

Browse files
bnbTrott
authored andcommitted
build: add devcontainer configuration
PR-URL: #40825 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 595b2b3 commit 0c5f253

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.devcontainer/.devcontainer.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Node.js Core Developer Environment",
3+
"extensions": [
4+
"github.vscode-pull-request-github",
5+
"ms-vsliveshare.vsliveshare",
6+
"vscode-icons-team.vscode-icons",
7+
"visualstudioexptteam.vscodeintellicode"
8+
],
9+
"dockerFile": "Dockerfile",
10+
"initializeCommand": "docker system prune -f -a",
11+
"settings": {
12+
"terminal.integrated.profiles.linux": {
13+
"zsh (login)": {
14+
"path": "zsh",
15+
"args": ["-l"]
16+
}
17+
}
18+
}
19+
}

.devcontainer/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM nodejs/devcontainer:nightly

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
.*
88
# Exclude specific dotfiles that we want to track.
99
!deps/**/.*
10+
!.devcontainer/
11+
!.devcontainer/.devcontainer.json
1012
!test/fixtures/**/.*
1113
!.clang-format
1214
!.cpplint

0 commit comments

Comments
 (0)