mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
Consolidate all Hanzo agent infrastructure into one repo: - control-plane/: Go control plane server (was agents-new) - sdk/: Go, Python, TypeScript SDKs - deployments/: Docker, Kubernetes, Helm configs - Dockerfile.sdk: Python SDK image (ghcr.io/hanzoai/agent:latest) - CI builds both SDK + control-plane images No more agentfield — everything is hanzoai/agent.
16 lines
589 B
Docker
16 lines
589 B
Docker
FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS builder
|
|
WORKDIR /workspace
|
|
|
|
COPY sdk/go ./sdk/go
|
|
COPY examples/go_agent_nodes ./examples/go_agent_nodes
|
|
|
|
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod \
|
|
cd examples/go_agent_nodes && go mod download && \
|
|
CGO_ENABLED=0 go build -o /out/hanzo-agents-demo-go-agent ./main.go
|
|
|
|
FROM gcr.io/distroless/static-debian12:nonroot
|
|
COPY --from=builder /out/hanzo-agents-demo-go-agent /usr/local/bin/hanzo-agents-demo-go-agent
|
|
EXPOSE 8001
|
|
ENTRYPOINT ["/usr/local/bin/hanzo-agents-demo-go-agent"]
|
|
|