34 lines
989 B
JSON
34 lines
989 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|