24a516c2b5
- agent-job image: add neovim, tmux, less, unzip, wget, locales for the interactive shell (tmux powers cross-reconnect session persistence) - Wire NEXT_PUBLIC_SPOON_AGENT_WORKER_WS_URL as a build arg (Dockerfile + compose.yml) since NEXT_PUBLIC vars are inlined at build time - docs/agent-terminal.md: architecture, env, nginx WS exposure, dev testing, security; note the build-time var in docs/compose.prod.yml
32 lines
632 B
Docker
32 lines
632 B
Docker
FROM docker.io/library/node:22-bookworm
|
|
|
|
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
bash \
|
|
bubblewrap \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
git \
|
|
jq \
|
|
less \
|
|
locales \
|
|
neovim \
|
|
openssh-client \
|
|
python3 \
|
|
ripgrep \
|
|
tmux \
|
|
unzip \
|
|
wget \
|
|
&& corepack enable \
|
|
&& corepack prepare pnpm@latest --activate \
|
|
&& corepack prepare yarn@stable --activate \
|
|
&& npm install -g bun@1.3.10 opencode-ai@1.17.9 @openai/codex@0.142.0 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /workspace
|
|
|
|
CMD ["bash"]
|