Skip to content

Commit

Permalink
Use dev container
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Sep 19, 2024
1 parent 384c6af commit 5e274bf
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// Copyright 2024, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
//

{
"name": "rust-root-task-demo",
"image": "rust-root-task-demo",

"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
],
"settings": {
"terminal.integrated.defaultProfile.linux": null,
"rust-analyzer.check.allTargets": false,
"rust-analyzer.cargo.allTargets": false
}
}
}
}
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,6 @@ RUN set -eux; \

ENV PATH=/home/x/.cargo/bin:$PATH

ENV SHELL=/bin/bash

WORKDIR /work
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

[toolchain]
channel = "nightly-2024-09-01"
components = [ "rustfmt", "rust-src", "rustc-dev", "llvm-tools-preview" ]
components = [ "rustfmt", "rust-src", "rustc-dev", "llvm-tools-preview", "rust-analyzer" ]

0 comments on commit 5e274bf

Please sign in to comment.