docs(storage): document consistency boundaries and reproducible checks
This commit is contained in:
+5
-2
@@ -3,8 +3,11 @@ ENV CGO_ENABLED=0 GOMAXPROCS=2 GOFLAGS=-p=2 GOTOOLCHAIN=local
|
||||
|
||||
FROM toolchain AS minio-build
|
||||
WORKDIR /source
|
||||
RUN git init . && git remote add origin https://github.com/minio/minio.git && \
|
||||
git fetch --depth 1 origin 9e49d5e7a648f00e26f2246f4dc28e6b07f8c84a && git checkout --detach FETCH_HEAD
|
||||
RUN curl --http1.1 -fsSL --connect-timeout 10 --max-time 1800 --retry 2 \
|
||||
--speed-time 60 --speed-limit 1024 \
|
||||
https://codeload.github.com/minio/minio/tar.gz/9e49d5e7a648f00e26f2246f4dc28e6b07f8c84a \
|
||||
-o /tmp/source.tgz && \
|
||||
tar xzf /tmp/source.tgz --strip-components=1 && rm /tmp/source.tgz
|
||||
RUN --mount=type=cache,target=/go/pkg/mod,sharing=locked \
|
||||
--mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
||||
go build -trimpath -ldflags='-s -w -X github.com/minio/minio/cmd.Version=2025-10-15T17:29:55Z -X github.com/minio/minio/cmd.ReleaseTag=RELEASE.2025-10-15T17-29-55Z -X github.com/minio/minio/cmd.CommitID=9e49d5e7a648f00e26f2246f4dc28e6b07f8c84a' -o /out/minio .
|
||||
|
||||
Reference in New Issue
Block a user