diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000000..f84eeb59afe --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,3 @@ +ARG VARIANT="1" +FROM mcr.microsoft.com/devcontainers/rust:${VARIANT} +RUN apt update && apt install -y cmake diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000..690f0a4736f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,16 @@ +{ + "name": "Rust", + "build": { + "dockerfile": "Dockerfile", + "args": { "VARIANT": "1" } + }, + "customizations": { + "vscode": { + "extensions": [ + "EditorConfig.EditorConfig", + "rust-lang.rust-analyzer" + ] + } + }, + "remoteUser": "vscode" +}