Skip to content

Commit

Permalink
build: add devcontainer configuration
Browse files Browse the repository at this point in the history
PR-URL: #40825
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
bnb authored and MoLow committed Jul 6, 2023
1 parent 7cfc00d commit d4eecb5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .devcontainer/.devcontainer.json
@@ -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 change: 1 addition & 0 deletions .devcontainer/Dockerfile
@@ -0,0 +1 @@
FROM nodejs/devcontainer:nightly
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -7,6 +7,8 @@
.*
# Exclude specific dotfiles that we want to track.
!deps/**/.*
!.devcontainer/
!.devcontainer/.devcontainer.json
!test/fixtures/**/.*
!.clang-format
!.cpplint
Expand Down

0 comments on commit d4eecb5

Please sign in to comment.