From f8fd887dff229bb21a4463a103d86d6b593592ee Mon Sep 17 00:00:00 2001 From: Michal Date: Fri, 26 Aug 2022 04:23:08 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Michal --- .devcontainer/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 64b40ca..e08b892 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,3 +1,7 @@ FROM ghcr.io/crystal-linux/crystal:latest RUN pacman -S --needed --noconfirm cargo openssl git binutils fakeroot pacman-contrib vim expac less +RUN useradd -m -G wheel vscode +RUN bash -c "echo \"vscode ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers" + +ENV USER=vscode