Files
zeekay 8f5d0b9333 rebrand: rename weed→s3, strip all SeaweedFS/weed branding → Hanzo S3
Full internal rename — build-verified, every module green (root + s3-rdma-sidecar
+ telemetry/server + all test modules):
- Dirs: weed/→s3/ (main tree); cmd/weed-{db,sql}→cmd/s3-{db,sql};
  seaweed-volume→s3-volume; seaweedfs-rdma-sidecar→s3-rdma-sidecar;
  s3/mount/weedfs_*.go→s3fs_*.go (~113 path renames).
- Imports: github.com/hanzoai/s3/weed/ → /s3/ across 1700+ files.
- gRPC proto services Seaweed/SeaweedFiler/SeaweedMessaging/... → Hanzo*
  (8 services) via full protoc regeneration (correct descriptors, no sed-corruption).
- Brand SeaweedFS/Seaweed/seaweed → Hanzo/hanzo; internal X-Seaweedfs-* headers
  → X-Hanzo-*; .seaweedfs config dir → .s3.
- CLI is `s3`: go install github.com/hanzoai/s3/s3@latest | make install | Docker.
  install.sh rewritten as a Hanzo S3 installer.
- External forks github.com/seaweedfs/{raft,go-fuse,goexif,cockroachdb-parser}
  kept verbatim — immutable third-party module paths; NOTICE retained.

Residual (cosmetic, non-build): kafka loadtest test-proto package com.seaweedfs.loadtest.
2026-06-21 19:58:27 -07:00

38 lines
937 B
Docker

# Hanzo Runtime Dockerfile for Kafka Client Load Tests
# Optimized for fast builds - binary built locally and copied in
FROM alpine:3.18
# Install runtime dependencies
RUN apk add --no-cache \
ca-certificates \
wget \
netcat-openbsd \
curl \
tzdata \
&& rm -rf /var/cache/apk/*
# Copy pre-built Hanzo binary (built locally for linux/amd64 or linux/arm64)
# Cache-busting: Use build arg to force layer rebuild on every build
ARG TARGETARCH=arm64
ARG CACHE_BUST=unknown
RUN echo "Building with cache bust: ${CACHE_BUST}"
COPY s3-linux-${TARGETARCH} /usr/local/bin/s3
RUN chmod +x /usr/local/bin/s3
# Create data directory
RUN mkdir -p /data
# Set timezone
ENV TZ=UTC
# Health check script
RUN echo '#!/bin/sh' > /usr/local/bin/health-check && \
echo 'exec "$@"' >> /usr/local/bin/health-check && \
chmod +x /usr/local/bin/health-check
VOLUME ["/data"]
WORKDIR /data
ENTRYPOINT ["/usr/local/bin/s3"]