diff options
Diffstat (limited to '.devcontainer')
| -rw-r--r-- | .devcontainer/Dockerfile | 5 | ||||
| -rw-r--r-- | .devcontainer/devcontainer.json | 31 |
2 files changed, 6 insertions, 30 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a2ce75f..70e0380 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,6 @@ -ARG VARIANT="buster" -FROM mcr.microsoft.com/vscode/devcontainers/rust:${VARIANT} +FROM mcr.microsoft.com/devcontainers/rust:1-1-bookworm RUN apt-get update &&\ - DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends binaryen fzf ripgrep tig &&\ + DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends binaryen &&\ rustup target add wasm32-wasi &&\ curl https://wasmtime.dev/install.sh -sSf | bash diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4adeca9..e162517 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,29 +1,6 @@ { - "name": "Rust", - "build": { - "dockerfile": "Dockerfile", - "args": { - "VARIANT": "bookworm" - } - }, - - "customizations": { - "vscode": { - "settings": { - "files.watcherExclude": { - "**/target/**": true - }, - "rust-analyzer.checkOnSave.command": "clippy" - }, - - "extensions": [ - "rust-lang.rust-analyzer" - ] - } - }, - - "remoteUser": "vscode", - "features": { - "sshd": "latest" - } + "name": "Rust", + "build": { + "dockerfile": "Dockerfile" + } } |
