diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 52931c0..1233e33 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ FROM crystallinux/crystal:crystal WORKDIR /home/ COPY . . -RUN useradd -m vscode +RUN useradd -m -G wheel vscode RUN bash ./setup.sh diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index f5c81b6..7cb947f 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -6,3 +6,5 @@ pacman -S --noconfirm \ base-devel \ lldb \ rustup + +echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \ No newline at end of file