build: creates a devcontainer configuration for contributors (#10937)
* set up a devcontainer configuration * also install postgresql for that part of the CONTRIBUTING guidance * set up a devcontainer configuration * also install postgresql for that part of the CONTRIBUTING guidance * forgot to revert node 22 to node 20 * slim down devcontainer file
This commit is contained in:
14
.devcontainer/devcontainer.json
Normal file
14
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "Node.js",
|
||||
// "Officially" maintained node devcontainer image from Microsoft
|
||||
// https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "npm ci"
|
||||
}
|
||||
Reference in New Issue
Block a user