File tree 2 files changed +30
-3
lines changed
Filter options
2 files changed +30
-3
lines changed
Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/vscode/devcontainers/rust:1-bullseye
2
+
3
+ # Install clang
4
+ RUN apt-get update \
5
+ && apt-get install -y clang \
6
+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1
1
{
2
- "image" : " mcr.microsoft.com/devcontainers/base:jammy" ,
3
- "onCreateCommand" : " curl https://sh.rustup.rs -sSf | sh -s -- -y"
4
- }
2
+ "name" : " Rust" ,
3
+ "build" : {
4
+ "dockerfile" : " Dockerfile"
5
+ },
6
+ "runArgs" : [" --cap-add=SYS_PTRACE" , " --security-opt" , " seccomp=unconfined" ],
7
+ "customizations" : {
8
+ "vscode" : {
9
+ "settings" : {
10
+ "lldb.executable" : " /usr/bin/lldb" ,
11
+ // VS Code don't watch files under ./target
12
+ "files.watcherExclude" : {
13
+ "**/target/**" : true
14
+ },
15
+ "extensions" : [
16
+ " rust-lang.rust-analyzer" ,
17
+ " tamasfe.even-better-toml" ,
18
+ " vadimcn.vscode-lldb" ,
19
+ " mutantdino.resourcemonitor"
20
+ ]
21
+ }
22
+ }
23
+ },
24
+ "remoteUser" : " vscode"
25
+ }
You can’t perform that action at this time.
0 commit comments