- Replace copyright headers: "MinIO, Inc." -> "Hanzo AI, Inc." across 411+ Go files - Replace "MinIO Object Storage stack" -> "Hanzo S3 stack" in all file headers - Replace all user-facing "MinIO" references -> "Hanzo S3" in Usage, help text, examples - Replace example alias "myminio" -> "mys3" throughout - Replace example endpoints play.min.io -> s3.hanzo.ai, dl.min.io -> s3.hanzo.ai - Replace doc URLs min.io -> hanzo.space - Rewrite README.md/README_zh_CN.md: product is "Hanzo S3 CLI" (the s3 command) - Update CONTRIBUTING.md, CONFLICT.md, NOTICE, code_of_conduct.md - Update all Dockerfiles: labels, entrypoints, image refs -> ghcr.io/hanzos3/cli - Update Makefile: build output, docker tags, install paths -> s3 - Update docker-buildx.sh: image tags -> ghcr.io/hanzos3/cli - DO NOT change go.mod module path or import paths (github.com/minio/mc preserved) - DO NOT change Go identifiers, SDK types, or wire protocol constants - All unit tests pass
25 lines
762 B
Docker
25 lines
762 B
Docker
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest AS build
|
|
|
|
RUN microdnf update --nodocs --assumeyes && microdnf install ca-certificates --nodocs --assumeyes
|
|
|
|
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
|
|
|
|
ARG TARGETARCH
|
|
ARG RELEASE
|
|
|
|
LABEL maintainer="Hanzo AI, Inc. <dev@hanzo.ai>"
|
|
|
|
# On RHEL the certificate bundle is located at:
|
|
# - /etc/pki/tls/certs/ca-bundle.crt (RHEL 6)
|
|
# - /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem (RHEL 7)
|
|
COPY --from=build /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/
|
|
|
|
COPY CREDITS /licenses/CREDITS
|
|
COPY LICENSE /licenses/LICENSE
|
|
|
|
ADD https://s3.hanzo.ai/client/s3/release/linux-${TARGETARCH}/archive/s3.${RELEASE} /usr/bin/s3
|
|
|
|
RUN chmod +x /usr/bin/s3
|
|
|
|
ENTRYPOINT ["s3"]
|