Skip to content

Commit

Permalink
Merge pull request rust-lang#1877 from kylev/kv_faster_devcon
Browse files Browse the repository at this point in the history
Simplify and shrink development container
  • Loading branch information
shadows-withal authored Mar 15, 2024
2 parents 6b0a2ff + 2fb1350 commit cc27966
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
19 changes: 5 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"waitFor": "onCreateCommand",
"onCreateCommand": ".devcontainer/setup.sh",
"updateContentCommand": "cargo build",
"postCreateCommand": "",
"postAttachCommand": {
"server": "rustlings watch"
},
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
]
}
"image": "mcr.microsoft.com/devcontainers/rust:1",
"updateContentCommand": ["cargo", "build"],
"postAttachCommand": ["rustlings", "watch"],
"remoteEnv": {
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/target/debug"
}
}
7 changes: 0 additions & 7 deletions .devcontainer/setup.sh

This file was deleted.

0 comments on commit cc27966

Please sign in to comment.