diff options
| author | Kyle VanderBeek <kylev@kylev.com> | 2024-03-09 19:45:50 +0000 |
|---|---|---|
| committer | Kyle VanderBeek <kylev@kylev.com> | 2024-03-09 19:45:50 +0000 |
| commit | 11f0fd7fd9673996d8d2381ade1a371f945f1875 (patch) | |
| tree | 9018410af5c1f76ba14edd68cde9b7ca0e937fbd /.devcontainer/devcontainer.json | |
| parent | 8d0aa11a35f822d044e6be89dc42840e0aea8858 (diff) | |
Convert to lightweight dev container; simplify.
Instead of running `rustup` on a multi-gigabyte general-purpose Linux base, use the premade devcontainers/rust:1 which closely tracks the rust toolchain releases. Rip out excess setup steps since devcontainers come with the repo checked out; just compile/update the binary.
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e1b2cec..59f9571 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,12 +1,6 @@ { - "image": "mcr.microsoft.com/devcontainers/universal:2-linux", - "waitFor": "onCreateCommand", - "onCreateCommand": ".devcontainer/setup.sh", + "image": "mcr.microsoft.com/devcontainers/rust:1", "updateContentCommand": "cargo build", - "postCreateCommand": "", - "postAttachCommand": { - "server": "rustlings watch" - }, "customizations": { "vscode": { "extensions": [ |
