Files
zeekayandClaude Opus 5 3cb580cc07 Go 1.27.1, and the code it can say more simply
Modules declare go 1.27.1 and the build images follow. go fix applied the
modernizers; the intPtr test helper had no callers left once new(expr) could
say it. omitzero is not applied, since it changes what the JSON says.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-09-16 19:25:34 -07:00

13 lines
383 B
Docker

FROM golang:1.27.1-alpine
WORKDIR /workspace
COPY sdk/go /tmp/go-sdk
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod \
cd /tmp/go-sdk && go mod download && go test ./...
ENV GO111MODULE=on
CMD ["sh", "-c", "echo 'Hanzo Agents Go agent image ready. Mount or COPY your agent source and override CMD to run it.' && tail -f /dev/null"]