Skip to content

Commit

Permalink
Add Devcontainer Support (#3799)
Browse files Browse the repository at this point in the history
* attempt at dual mac builds

* add initial devcontainer

* correct dependency import
  • Loading branch information
yeastplume authored Nov 13, 2024
1 parent 118f885 commit 6c01204
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Rust latest
FROM mcr.microsoft.com/devcontainers/rust:latest

# Install Required Dependencies
RUN apt-get -qq update
RUN apt-get install -y build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "rust-grin-devcontainer",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"vadimcn.vscode-lldb",
"tamasfe.even-better-toml",
"rust-lang.rust-analyzer",
"esbenp.prettier-vscode",
"github.copilot",
"github.copilot-chat"
]
}
}
}

0 comments on commit 6c01204

Please sign in to comment.