From b749267f9bd2b5598401883385d0bc1970670dcd Mon Sep 17 00:00:00 2001 From: Jason Greathouse Date: Wed, 20 Nov 2024 16:49:13 -0600 Subject: [PATCH] add devcontainer config (#1022) * add devcontainer config --- .devcontainer.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .devcontainer.json diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 000000000..b933bd0dc --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,28 @@ +{ + "image": "mobilecoin/fat-devcontainer:v0.0.38", + "forwardPorts": [ + 9090 + ], + "capAdd": ["SYS_PTRACE"], + "containerEnv": { + "MC_CHAIN_ID": "local", + "RUST_BACKTRACE": "1", + "SGX_MODE": "SW" + }, + "remoteUser": "sentz", + "postCreateCommand": "/usr/local/bin/startup-devcontainer.sh", + "customizations": { + "vscode": { + "extensions": [ + "fill-labs.dependi", + "github.vscode-github-actions", + "GitHub.copilot", + "ms-kubernetes-tools.vscode-kubernetes-tools", + "rust-lang.rust-analyzer", + "timonwong.shellcheck", + "be5invis.toml", + "redhat.vscode-yaml" + ] + } + } +}