From f7cffd6a4a38a5d3ee1fade8a1e9d43a82390e0e Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 28 Aug 2022 05:58:06 +0100 Subject: [PATCH] Create .devcontainer Signed-off-by: Michal --- .devcontainer | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .devcontainer diff --git a/.devcontainer b/.devcontainer new file mode 100644 index 0000000..522a658 --- /dev/null +++ b/.devcontainer @@ -0,0 +1,7 @@ +FROM ghcr.io/crystal-linux/crystal:latest + +RUN pacman -S --needed --noconfirm cargo openssl git binutils fakeroot pacman-contrib +RUN useradd -m -G wheel vscode +RUN bash -c "echo \"vscode ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers" + +ENV USER=vscode