From f6a89ebf20f80c5775601fdc0621d381688c91a0 Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 28 Aug 2022 05:59:33 +0100 Subject: [PATCH] Create Dockerfile Signed-off-by: Michal --- .devcontainer/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .devcontainer/Dockerfile diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..522a658 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -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