Skip to content

Commit

Permalink
devenv: create initial devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekNonGeneric committed Jun 3, 2023
1 parent 3a98eb4 commit 380f066
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18",
"remoteUser": "node",
"customizations": {
"vscode": {
"extensions": [
"mads-hartmann.bash-ide-vscode",
"bmalehorn.vscode-fish",
"timonwong.shellcheck",
"streetsidesoftware.code-spell-checker",
"ms-azuretools.vscode-docker"
]
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postCreateCommand": "npm install -g @devcontainers/cli && sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install -y shellcheck",
"hostRequirements": {
"cpus": 4
}
}
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"recommendations": [
"timonwong.shellcheck"
"timonwong.shellcheck",
"bmalehorn.vscode-fish",
"ms-azuretools.vscode-docker",
"streetsidesoftware.code-spell-checker",
"mads-hartmann.bash-ide-vscode"
]
}

0 comments on commit 380f066

Please sign in to comment.