WIP - Initial commit of devcontainer

This commit is contained in:
stephenandary 2023-04-29 11:44:28 -04:00
parent 1adccc0573
commit 74cb70590c
No known key found for this signature in database
GPG key ID: E7F95D38F0C9A736
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{
"name": "dioxus",
"image": "mcr.microsoft.com/devcontainers/rust:latest",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"./local-features/linux": {}
},
"containerEnv": {
"RUST_LOG": "INFO"
},
"customizations": {
"vscode": {
"settings": {
"files.watcherExclude": {
"**/target/**": true
},
"[rust]": {
"editor.formatOnSave": true
}
},
"extensions": [
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates"
]
}
}
}

View file

@ -0,0 +1,4 @@
{
"id": "linux",
"version": "0.0.1"
}

View file

@ -0,0 +1,6 @@
#!/bin/bash
echo "Update Apt Database"
sudo apt-get update
echo "Install Webkit Dependencies"
sudo apt-get -qq install build-essential libwebkit2gtk-4.0-dev libgtk-3-dev libayatana-appindicator3-dev