diff options
author | Chuck Lantz <clantz@microsoft.com> | 2020-06-02 06:46:08 +0300 |
---|---|---|
committer | Chuck Lantz <clantz@microsoft.com> | 2020-06-02 06:46:08 +0300 |
commit | 6ab27c4d8cbe77aca7ddde706c69ec59fd6255e0 (patch) | |
tree | 5cb5f0ce456434050ed04079295d04a7e90c6fb9 /.devcontainer/devcontainer.json | |
parent | 37a3496bb050538c67940d9c846334ecba1e032b (diff) |
Development container for VS Code
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r-- | .devcontainer/devcontainer.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000..b27b92534be --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,41 @@ +{ + "name": "Code - OSS", + "build": { + "dockerfile": "Dockerfile", + "args": { + "MAX_VNC_RESOLUTION": "1920x1080x16", + "TARGET_VNC_RESOLUTION": "1280x768", + "TARGET_VNC_PORT": "5901", + "TARGET_NOVNC_PORT": "6080", + "INSTALL_FIREFOX": "true" + } + }, + "overrideCommand": false, + "runArgs": ["--init"], + + "settings": { + // zsh is also available + "terminal.integrated.shell.linux": "/bin/bash", + "resmon.show.battery": false, + "resmon.show.cpufreq": false, + "remote.extensionKind": { + "ms-vscode.js-debug-nightly": "workspace" + }, + "debug.chrome.useV3": true + }, + + // noVNC, VNC ports + "forwardPorts": [6080, 5901], + + "extensions": [ + "ms-vscode.vscode-typescript-tslint-plugin", + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig", + "ms-vscode.js-debug-nightly", + "eamodio.gitlens", + "GitHub.vscode-pull-request-github", + "mutantdino.resourcemonitor" + ], + + "remoteUser": "node" +} |