init
This commit is contained in:
33
.devcontainer/devcontainer.json
Normal file
33
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "My Coder Test Environment",
|
||||
"build": {
|
||||
"dockerfile": "../Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"remoteUser": "coder", // This should match the USERNAME arg in your Dockerfile
|
||||
// "workspaceMount": "Source=./workspace,target=/home/coder/workspace,type=bind,consistency=cached",
|
||||
"workspaceFolder": "/workspaces",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||
"terminal.integrated.profiles.linux": {
|
||||
"zsh": {
|
||||
"path": "/usr/bin/zsh"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extensions": [
|
||||
"ms-azuretools.vscode-docker",
|
||||
"golang.go", // Example: Add extensions relevant to your work
|
||||
"rust-lang.rust-analyzer",
|
||||
"esbenp.prettier-vscode",
|
||||
"editorconfig.editorconfig"
|
||||
]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "/etc/profile.d/nvm.sh && nvm install --lts && nvm use --lts",
|
||||
"containerEnv": {
|
||||
"MY_CUSTOM_VAR": "some-value"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user