From 44ced2d8fcf9ed0c957f910761771fc8892f5af5 Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Sun, 12 Feb 2023 12:36:15 -0500 Subject: [PATCH] chore: dev container updated --- .devcontainer/devcontainer.json | 62 ++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index aba5779..96f2ade 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,36 +20,48 @@ "source=/etc/localtime,target=/etc/localtime,type=bind,readonly" ], + "postCreateCommand": "cargo install typos-cli tauri-cli", - // Set *default* container specific settings.json values on container create. - "settings": { - "lldb.executable": "/usr/bin/lldb", - // VS Code don't watch files under ./target - "files.watcherExclude": { - "**/target/**": true - }, - "rust-analyzer.checkOnSave.command": "clippy" - }, - - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "vadimcn.vscode-lldb", - "mutantdino.resourcemonitor", - "rust-lang.rust-analyzer", - "tamasfe.even-better-toml", - "serayuzgur.crates", - "christian-kohler.path-intellisense", - "timonwong.shellcheck", - "ms-vscode.live-server", - "rangav.vscode-thunder-client", - "bmuskalla.vscode-tldr" - ], + "customizations": { + "vscode": { + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "bmuskalla.vscode-tldr", + "christian-kohler.path-intellisense", + "ms-vscode.live-server", + "mutantdino.resourcemonitor", + "rangav.vscode-thunder-client", + "rust-lang.rust-analyzer", + "serayuzgur.crates", + "tamasfe.even-better-toml", + "timonwong.shellcheck", + "vadimcn.vscode-lldb" + ], + "settings": { + "lldb.executable": "/usr/bin/lldb", + // VS Code don't watch files under ./target + "files.watcherExclude": { + "**/target/**": true + }, + "rust-analyzer.checkOnSave.command": "clippy" + } + } + }, // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": { - "docker-in-docker": "latest", - "git": "os-provided" + "ghcr.io/devcontainers/features/node:1": { + + }, + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "version": "latest", + "moby": true, + "dockerDashComposeVersion":"v2" + }, + "ghcr.io/devcontainers/features/git:1": { + "version":"os-provided" + } } } \ No newline at end of file