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 <philipp.kief@gmx.de>
  • Loading branch information
okineadev and PKief committed May 11, 2024
1 parent e51b50c commit f6deebc
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
@@ -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,

"postCreateCommand": {
// 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 f6deebc

Please sign in to comment.