{ "name": "MSSQL Python Driver", "build": { "dockerfile": "Dockerfile", "context": "." }, "customizations": { "vscode": { "settings": { "python.defaultInterpreterPath": "/usr/local/bin/python", "python.terminal.activateEnvironment": false, "editor.formatOnSave": true, "[python]": { "editor.defaultFormatter": "ms-python.black-formatter" }, "cmake.configureOnOpen": false, "cmake.configureOnEdit": false, "cmake.automaticReconfigure": false, "files.exclude": { "**/__pycache__": true, "**/*.pyc": true, "**/.pytest_cache": true, "**/build": true } }, "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "ms-python.pylint", "ms-python.black-formatter", "ms-toolsai.jupyter", "ms-vscode.cmake-tools", "ms-vscode.cpptools", "ms-vscode.cpptools-extension-pack", "github.copilot", "github.copilot-chat", "ms-vscode.test-adapter-converter", "littlefoxteam.vscode-python-test-adapter", "ms-azuretools.vscode-docker", "ms-mssql.mssql" ] } }, "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/docker-in-docker:2": {}, "ghcr.io/devcontainers/features/common-utils:2": { "installZsh": true, "configureZshAsDefaultShell": true, "installOhMyZsh": true, "upgradePackages": true, "username": "vscode", "userUid": "automatic", "userGid": "automatic" } }, "forwardPorts": [1433], "portsAttributes": { "1433": { "label": "SQL Server", "onAutoForward": "notify" } }, "postCreateCommand": "bash .devcontainer/post-create.sh", "remoteUser": "vscode", "containerEnv": { "PYTHONPATH": "/workspaces/mssql-python", "CMAKE_BUILD_TYPE": "Debug" }, "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/mssql-python,type=bind,consistency=cached", "workspaceFolder": "/workspaces/mssql-python" }