From 0507887dfa954931c5c1d9b0d8d1f01c132c0bb6 Mon Sep 17 00:00:00 2001 From: Tobias Maier Date: Tue, 12 Sep 2023 21:55:52 +0000 Subject: [PATCH] fixed users --- .devcontainer/Dockerfile | 4 +++- .devcontainer/devcontainer.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6b53a15..e1247cf 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,3 +1,5 @@ FROM rust:1-bookworm RUN apt update && apt upgrade -y && apt install fish -y -RUn rustup component add clippy rustfmt \ No newline at end of file +RUN rustup component add clippy rustfmt + +RUN useradd -ms /bin/fish vscode \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 59e2e47..c68acad 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -49,7 +49,7 @@ } } } - } + }, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" + "remoteUser": "vscode" }