diff --git a/.devcontainer.json b/.devcontainer.json index 53d6cdf..baa8e6d 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,43 +1,45 @@ { - "name": "ludeeus/integration_blueprint", - "image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye", - "postCreateCommand": "scripts/setup", - "appPort": [ - "9129:8123" - ], - "portsAttributes": { - "8123": { - "label": "Home Assistant - Webasto Connect", - "onAutoForward": "notify" - } - }, - "customizations": { - "vscode": { - "extensions": [ - "ms-python.python", - "github.vscode-pull-request-github", - "ryanluker.vscode-coverage-gutters", - "ms-python.vscode-pylance", - "ms-python.black-formatter" - ], - "settings": { - "files.eol": "\n", - "editor.tabSize": 4, - "python.pythonPath": "/usr/bin/python3", - "python.analysis.autoSearchPaths": false, - "python.linting.pylintEnabled": true, - "python.linting.enabled": true, - "python.formatting.provider": "black", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "editor.formatOnPaste": false, - "editor.formatOnSave": true, - "editor.formatOnType": true, - "files.trimTrailingWhitespace": true - } - } - }, - "remoteUser": "root", - "features": { - "ghcr.io/devcontainers/features/rust:1": {} - } + "name": "ludeeus/integration_blueprint", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "postCreateCommand": "scripts/setup", + "appPort": [ + "9129:8123" + ], + "portsAttributes": { + "8123": { + "label": "Home Assistant - Webasto Connect", + "onAutoForward": "notify" + } + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "github.vscode-pull-request-github", + "ryanluker.vscode-coverage-gutters", + "ms-python.vscode-pylance" + ], + "settings": { + "files.eol": "\n", + "editor.tabSize": 4, + "terminal.integrated.shell.linux": "/bin/bash", + "python.defaultInterpreterPath": "/usr/bin/python3", + "python.analysis.autoSearchPaths": false, + "python.linting.pylintEnabled": true, + "python.linting.enabled": true, + "python.formatting.provider": "black", + "editor.formatOnPaste": false, + "editor.formatOnSave": true, + "editor.formatOnType": true, + "files.trimTrailingWhitespace": true + } + } + }, + "remoteUser": "root", + "features": { + "ghcr.io/devcontainers/features/rust:1": {}, + "ghcr.io/devcontainers/features/python:1": { + "version": "latest" + } + } } \ No newline at end of file