Skip to content

Commit 238588a

Browse files
authored
Create codespace config
1 parent 62e1c72 commit 238588a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.devcontainer/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ARG VARIANT="1"
2+
FROM mcr.microsoft.com/devcontainers/rust:${VARIANT}
3+
RUN apt update && apt install -y cmake

.devcontainer/devcontainer.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Rust",
3+
"build": {
4+
"dockerfile": "Dockerfile",
5+
"args": { "VARIANT": "1" }
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"EditorConfig.EditorConfig",
11+
"rust-lang.rust-analyzer"
12+
]
13+
}
14+
},
15+
"remoteUser": "vscode"
16+
}

0 commit comments

Comments
 (0)