diff --git a/.claude/settings.local.json b/.claude/settings.local.json index a4af320..e2ee183 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,7 +1,9 @@ { "permissions": { "allow": [ - "Bash(mkdir:*)" + "Bash(mkdir:*)", + "Bash(find:*)", + "Bash(rg:*)" ], "deny": [] } diff --git a/pkg/config/config.go b/pkg/config/config.go index 615bc65..5fb2ae1 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -53,6 +53,7 @@ RUN apt-get update && apt-get install -y \ gcc \ g++ \ make \ + sudo \ && rm -rf /var/lib/apt/lists/* # Install Node.js (latest LTS) @@ -62,6 +63,9 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \ # Install Claude Code CLI RUN npm install -g @anthropic-ai/claude-code +# Configure passwordless sudo for all users +RUN echo 'ALL ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + # Create workspace directory RUN mkdir -p /workspace WORKDIR /workspace