mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
Kill MinIO; migrate object storage to SeaweedFS, rebranded Hanzo S3.
- module github.com/hanzoai/s3 (all 1920 imports rewritten); seaweedfs/{raft,goexif,go-fuse,cockroachdb-parser} kept as deps
- binary weed -> s3; display brand SeaweedFS -> Hanzo S3 (Server/version/admin); wire identifiers unchanged for S3 compat
- Dockerfile builds s3 (CGO_ENABLED=0, ldflags) -> ghcr.io/hanzoai/s3 via shared CI
- MinIO preserved in git history (prior main)
22 lines
606 B
Docker
22 lines
606 B
Docker
# Use the official Eclipse Temurin + Maven image so we don't depend on
|
|
# Debian apt mirrors, which intermittently refuse connections from
|
|
# GitHub Actions runners and fail the CI build. This image already has
|
|
# JDK 11 and Maven installed.
|
|
FROM maven:3.9-eclipse-temurin-11
|
|
|
|
WORKDIR /app
|
|
|
|
# Create source directory
|
|
RUN mkdir -p src/main/java
|
|
|
|
# Copy source and build files
|
|
COPY SeekToBeginningTest.java src/main/java/
|
|
COPY pom.xml .
|
|
|
|
# Compile and package
|
|
RUN mvn clean package -DskipTests
|
|
|
|
# Run the test
|
|
ENTRYPOINT ["java", "-cp", "target/seek-test.jar", "SeekToBeginningTest"]
|
|
CMD ["kafka-gateway:9093"]
|