From 24de193ea449dcf1c439ff00c3cee7e4521e13bf Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Tue, 15 Nov 2022 10:07:18 +0000 Subject: [PATCH] chore: add dev container --- .devcontainer/devcontainer.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..15dadafa --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,23 @@ +{ + "name": "Rust", + "image": "mcr.microsoft.com/devcontainers/rust:1-bullseye", + "features": { + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers-contrib/features/deno:1": {} + } + + // Features to add to the dev container. More info: https://containers.dev/implementors/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "rustc --version", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +}