m64_5eb4fb31150f / Dockerfile
25 lines, 1.7 KBraw
1# pi-qwen38-gb10: pi coding agent 0.73.1 (badlogic/pi-mono) driving Qwen3.8-27B served by vLLM in the same container.2# Port of gx10 start_pi_qwen38.sh (agents/pi/Dockerfile + the agents/sandbox.sh3# qwen38-27b profile). The vLLM part is the qwen38-27b-gb10 capsule's image.4# Base: vllm/vllm-openai:gemma4-cu130 (vLLM 0.19.1), the image gx10's start script runs, pinned by5# its multi-arch index digest. gx10's script ran `pip install -U 'transformers>=5.8.0'` in the6# container before serving (the image ships 5.5.0, too old for Qwen3.8); this pins the minimum,7# 5.8.0, which (checked) changes nothing else in the image.8FROM vllm/vllm-openai@sha256:0d152595cd940ea1e0890fa190a37b7a86e3f7f0f5048ac3e2e4c14529fea8339RUN pip install --no-cache-dir transformers==5.8.01011# The agent's tools (as gx10's agent images: git, ripgrep, jq, a C toolchain...).12RUN apt-get update -qq && apt-get install -y --no-install-recommends \13 ca-certificates git ripgrep jq curl xz-utils unzip file less procps build-essential python3-venv \14 && rm -rf /var/lib/apt/lists/*1516# Node 22.23.2 (the version of the node:22 image gx10's agents use), official arm64 build,17# checked against nodejs.org's SHASUMS256.txt.18RUN curl -fsSL https://nodejs.org/dist/v22.23.2/node-v22.23.2-linux-arm64.tar.xz -o /tmp/node.tar.xz \19 && echo "fff4078c5def658577f92c88db7db3bc0072924bfb93fe52c1e744a54e94abb8 /tmp/node.tar.xz" | sha256sum -c - \20 && mkdir -p /opt/node && tar xJf /tmp/node.tar.xz -C /opt/node --strip-components=1 && rm /tmp/node.tar.xz \21 && ln -s /opt/node/bin/node /opt/node/bin/npm /opt/node/bin/npx /usr/local/bin/22ENV PATH=/opt/node/bin:$PATH2324RUN npm install -g @mariozechner/pi-coding-agent@0.73.1 && npm cache clean --force25ENV PI_OFFLINE=1 PI_TELEMETRY=0