Files
hanzoai_agent/deployments/docker/Dockerfile.demo-go-agent
zeekay 2899aeaa9f feat: merge agents control plane + SDKs into unified agent repo
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.
2026-02-13 12:24:31 -08:00

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"]