Skip to content

Commit

Permalink
Added devcontainer.json (#2319)
Browse files Browse the repository at this point in the history
* Added `devcontainer.json`

* Changed `"onCreateCommand"` to `"postCreateCommand"`

* Added `jock.svg` to preinstalled extensions

---------

Co-authored-by: Philipp Kief <[email protected]>
  • Loading branch information
PKief committed May 11, 2024
1 parent de998a7 commit 7acb299
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "vscode-material-icon-theme",

// Use Microsoft's Ubuntu Base image for the dev container
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
// Use NodeJS features in the dev container
"ghcr.io/devcontainers/features/node:1": {}
},

"privileged": true,

"onCreateCommand": {
// Install NPM dependencies in the dev container
"install-node-packages": "npm install"
},

"customizations": {
"vscode": {
"settings": {
// Define suggested settings for the dev container
"resmon.show.battery": false,
"resmon.show.cpufreq": false
},
"extensions": [
// Define suggested extensions to preinstall in the dev container
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"jock.svg"
]
}
}
}

0 comments on commit 7acb299

Please sign in to comment.