add initial devcontainer

This commit is contained in:
yeastplume 2024-11-12 15:37:15 +00:00
parent f9d814e550
commit 1936ccd471
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 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"
]
}
}
}