From 9344772cc5f158ba832d34ba0c1fd2db0a37b7e1 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 2 Feb 2024 12:29:10 +0000 Subject: [PATCH] chore(devcontainer): setup for podman, add rust-analyzer Signed-off-by: Antonio Murdaca --- .devcontainer/devcontainer.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index df193d0dc..a972b346c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,13 @@ "build": { "dockerfile": "Dockerfile" }, + "containerUser": "vscode", + "updateRemoteUserUID": true, + "containerEnv": { + "HOME": "/home/vscode" + }, "runArgs": [ + "--userns=keep-id:uid=1000,gid=1000", "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" @@ -18,7 +24,8 @@ "mutantdino.resourcemonitor", "matklad.rust-analyzer", "tamasfe.even-better-toml", - "serayuzgur.crates" + "serayuzgur.crates", + "rust-lang.rust-analyzer" ], "hostRequirements": { "memory": "4gb"