mirror of
https://github.com/wirenboard/agent-vm.git
synced 2026-07-09 16:00:54 +00:00
stage_7
This commit is contained in:
parent
51b98f8981
commit
50d1cc9aae
2 changed files with 11 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:26.4.0-slim
|
||||
RUN apt-get update && apt install -y --no-install-recommends curl nano bash ca-certificates ssh git wget bash-completion \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
ENV PATH=$PATH:/agent-vm-work-dir/.local/.npm-global/bin
|
||||
ENV PATH=$PATH:/agent-vm-work-dir/.local/.npm-global/bin:/agent-vm-work-dir/.local/bin
|
||||
USER nobody
|
||||
WORKDIR /agent-vm-work-dir
|
||||
ENV HOME=/agent-vm-work-dir
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -41,11 +41,13 @@ docker run --device /dev/kvm -v ~/agent-vm/agent-vm-work-dir:/agent-vm-work-dir
|
|||
|
||||
npm install -g @wirenboard/agent-vm # or: npx @wirenboard/agent-vm
|
||||
|
||||
curl -fsSL https://claude.ai/install.sh | bash #install claude client for authorization
|
||||
|
||||
claude #run for login in claud.io ONLY https://github.com/wirenboard/agent-vm#credentials
|
||||
|
||||
agent-vm setup # pulls the latest image from ghcr.io and verifies it boots
|
||||
|
||||
mkdir your-project-dir-name # create catalog for project
|
||||
|
||||
cd your-project-dir-name
|
||||
curl -fsSL https://claude.ai/install.sh | bash
|
||||
|
||||
agent-vm claude # or codex / opencode / shell
|
||||
```
|
||||
|
|
@ -54,9 +56,14 @@ agent-vm claude # or codex / opencode / shell
|
|||
```bash
|
||||
npm install -g @wirenboard/agent-vm # or: npx @wirenboard/agent-vm <cmd>
|
||||
|
||||
curl -fsSL https://claude.ai/install.sh | bash #install claude client for authorization
|
||||
|
||||
claude #run for login in claud.io, more details https://github.com/wirenboard/agent-vm#credentials
|
||||
|
||||
agent-vm setup # pulls the latest image from ghcr.io and verifies it boots
|
||||
|
||||
cd ~/your-project
|
||||
|
||||
agent-vm claude # or codex / opencode / shell
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue