* chore: update license info and subnet utils * chore: symlink AGENTS.md and CLAUDE.md to LLM.md Canonical project context lives in LLM.md. Symlinks ensure agentic coding tools (Claude Code, Cursor, etc.) find context automatically regardless of which filename they look for. * chore: update stdlib dependencies * go.mod: bump go directive to 1.26.3 (security advisory) * deps: bump Go to 1.26.4 across go.mod, Dockerfiles, GH Actions Workspace-wide sync. luxfi/node already shipped on 1.26.4 in v1.30.6 (commit 121aca1fa9); this is the cross-repo catch-up. * deps: prometheus/client_golang → luxfi/metric Mechanical migration following the beego v2.3.8 fork precedent (bc7b075). Same exposition surface, zero prometheus/client_golang in the dep graph. * ci: run on self-hosted ARC pool (hanzo-build-linux-amd64/deploy), not GitHub-hosted --------- Co-authored-by: zeekay <z@zeekay.io> Co-authored-by: zeekay <z@hanzo.ai>
24 lines
474 B
Docker
24 lines
474 B
Docker
FROM golang:1.26.4-alpine AS build
|
|
|
|
LABEL maintainer="Hanzo AI, Inc. <dev@hanzo.ai>"
|
|
|
|
ENV GOPATH /go
|
|
ENV CGO_ENABLED 0
|
|
|
|
RUN apk add -U --no-cache ca-certificates git
|
|
|
|
WORKDIR /src
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
RUN go build -v -ldflags "-s -w" -o /go/bin/s3 .
|
|
|
|
FROM scratch
|
|
|
|
COPY --from=build /go/bin/s3 /usr/bin/s3
|
|
COPY --from=build /src/LICENSE /licenses/LICENSE
|
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
|
|
ENTRYPOINT ["s3"]
|