Files
spoon/docker/agent-job.Dockerfile
T
2026-06-22 10:37:26 -04:00

25 lines
470 B
Docker

FROM node:22-bookworm
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
build-essential \
ca-certificates \
curl \
git \
jq \
openssh-client \
python3 \
ripgrep \
&& corepack enable \
&& npm install -g bun@1.3.10 opencode-ai@latest \
&& rm -rf /var/lib/apt/lists/*
RUN useradd --create-home --shell /bin/bash agent
USER agent
WORKDIR /workspace
CMD ["bash"]