Add Devcontainer Support (#3799)

* attempt at dual mac builds

* add initial devcontainer

* correct dependency import
This commit is contained in:
Yeastplume 2024-11-13 12:04:02 +00:00 committed by GitHub
parent 118f885468
commit 6c012043c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

6
.devcontainer/Dockerfile Executable file
View file

@ -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

View file

@ -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"
]
}
}
}