Skip to content

Commit 55610b6

Browse files
AbirAbbasclaude
andcommitted
feat(go): bundle the pro-engine binary and install it in the image
Vendors the prebuilt static engine binary (linux/amd64) at go/bin/swe-pro and copies it to /usr/local/bin/swe-pro in the runtime image — the supervisor's default path — so the published image is opt-in ready. Runtime behavior is unchanged unless SWE_PRO_ENGINE is set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 383567f commit 55610b6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

go/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ RUN git config --global user.name "SWE-AF" && \
146146
COPY --from=builder /out/swe-planner /usr/local/bin/swe-planner
147147
COPY --from=builder /out/swe-fast /usr/local/bin/swe-fast
148148

149+
# Prebuilt pro-engine binary (static, vendored at go/bin). Inert unless the
150+
# node is started with SWE_PRO_ENGINE=1 (see go/docs/pro-engine.md); the
151+
# supervisor's default SWE_PRO_BIN already points here.
152+
COPY go/bin/swe-pro /usr/local/bin/swe-pro
153+
149154
# Pre-create /workspaces so named-volume mounts inherit correct permissions
150155
# (without this, Docker creates it as root read-only on fresh deployments).
151156
RUN mkdir -p /workspaces && chmod 777 /workspaces

go/bin/swe-pro

11.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)