add sudo to userland
This commit is contained in:
parent
9e13cc4b25
commit
051121c79e
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(mkdir:*)"
|
||||
"Bash(mkdir:*)",
|
||||
"Bash(find:*)",
|
||||
"Bash(rg:*)"
|
||||
],
|
||||
"deny": []
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue