Skip to content

Commit

Permalink
Create codespace config
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Aug 9, 2024
1 parent 62e1c72 commit 238588a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ARG VARIANT="1"
FROM mcr.microsoft.com/devcontainers/rust:${VARIANT}
RUN apt update && apt install -y cmake
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "1" }
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"rust-lang.rust-analyzer"
]
}
},
"remoteUser": "vscode"
}

0 comments on commit 238588a

Please sign in to comment.