Skip to content

Commit 6c01204

Browse files
authored
Add Devcontainer Support (#3799)
* attempt at dual mac builds * add initial devcontainer * correct dependency import
1 parent 118f885 commit 6c01204

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.devcontainer/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Rust latest
2+
FROM mcr.microsoft.com/devcontainers/rust:latest
3+
4+
# Install Required Dependencies
5+
RUN apt-get -qq update
6+
RUN apt-get install -y build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm

.devcontainer/devcontainer.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "rust-grin-devcontainer",
3+
"build": {
4+
"dockerfile": "Dockerfile",
5+
"context": ".."
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"dbaeumer.vscode-eslint",
11+
"vadimcn.vscode-lldb",
12+
"tamasfe.even-better-toml",
13+
"rust-lang.rust-analyzer",
14+
"esbenp.prettier-vscode",
15+
"github.copilot",
16+
"github.copilot-chat"
17+
]
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)