Files
coder-default/.devcontainer/devcontainer.json
Morten Olsen ee3b96fd89 init
2025-09-09 20:35:09 +02:00

34 lines
986 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"
}
}