mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Add Devcontainer Support (#3799)
* attempt at dual mac builds * add initial devcontainer * correct dependency import
This commit is contained in:
parent
118f885468
commit
6c012043c0
2 changed files with 26 additions and 0 deletions
6
.devcontainer/Dockerfile
Executable file
6
.devcontainer/Dockerfile
Executable 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
|
20
.devcontainer/devcontainer.json
Normal file
20
.devcontainer/devcontainer.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue