Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 72dc495

Browse filesBrowse files
arihant2mathyouknowone
authored andcommitted
dev container update
1 parent b696e56 commit 72dc495
Copy full SHA for 72dc495

File tree

2 files changed

+30
-3
lines changed
Filter options

2 files changed

+30
-3
lines changed

‎.devcontainer/DOCKERFILE

Copy file name to clipboard
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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/*

‎.devcontainer/devcontainer.json

Copy file name to clipboard
+24-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
{
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+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.