51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
|
||
|
|
{
|
||
|
|
"name": "fission:ailbl-tag",
|
||
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||
|
|
// "image": "mcr.microsoft.com/devcontainers/rust:0-1-bullseye",
|
||
|
|
// Use docker compose file
|
||
|
|
"dockerComposeFile": "docker-compose.yml",
|
||
|
|
"service": "devcontainer",
|
||
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||
|
|
// "features": {},
|
||
|
|
// Configure tool-specific properties.
|
||
|
|
"customizations": {
|
||
|
|
// Configure properties specific to VS Code.
|
||
|
|
"vscode": {
|
||
|
|
"settings": {
|
||
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
||
|
|
"python.formatting.provider": "black",
|
||
|
|
"python.formatting.blackPath": "/usr/local/py-utils/bin/black"
|
||
|
|
},
|
||
|
|
"extensions": [
|
||
|
|
// VS Code specific
|
||
|
|
"ms-azuretools.vscode-docker" ,
|
||
|
|
"dbaeumer.vscode-eslint" ,
|
||
|
|
"EditorConfig.EditorConfig" ,
|
||
|
|
// Python specific
|
||
|
|
"ms-python.python" ,
|
||
|
|
"ms-python.black-formatter" ,
|
||
|
|
// C++ specific
|
||
|
|
"ms-vscode.cpptools" ,
|
||
|
|
"twxs.cmake" ,
|
||
|
|
// Markdown specific
|
||
|
|
"yzhang.markdown-all-in-one" ,
|
||
|
|
// YAML formatter
|
||
|
|
"kennylong.kubernetes-yaml-formatter",
|
||
|
|
// hightlight and format `pyproject.toml`
|
||
|
|
"tamasfe.even-better-toml"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"mounts": [ ],
|
||
|
|
// "runArgs": [
|
||
|
|
// "--env-file",
|
||
|
|
// ".devcontainer/.env"
|
||
|
|
// ],
|
||
|
|
"postStartCommand": "/workspaces/${localWorkspaceFolderBasename}/.devcontainer/initscript.sh",
|
||
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||
|
|
"forwardPorts": []
|
||
|
|
}
|