Image mtusi-mc:2025-04-16 Building #1 [internal] load local bake definitions #1 reading from stdin 1.23kB 0.0s done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile.mc #2 transferring dockerfile: 577B 0.0s done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/alpine:3.22.1 #3 ... #4 [internal] load metadata for docker.io/library/golang:1.24.3-alpine #4 DONE 12.3s #3 [internal] load metadata for docker.io/library/alpine:3.22.1 #3 DONE 12.3s #5 [internal] load .dockerignore #5 transferring context: 196B done #5 DONE 0.0s #6 [stage-1 1/3] FROM docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 #6 resolve docker.io/library/alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 0.0s done #6 DONE 0.0s #7 [stage-1 2/3] RUN apk add --no-cache ca-certificates curl #7 CACHED #8 [build 1/5] FROM docker.io/library/golang:1.24.3-alpine@sha256:b4f875e650466fa0fe62c6fd3f02517a392123eea85f1d7e69d85f780e4db1c1 #8 resolve docker.io/library/golang:1.24.3-alpine@sha256:b4f875e650466fa0fe62c6fd3f02517a392123eea85f1d7e69d85f780e4db1c1 0.0s done #8 DONE 0.0s #9 [build 2/5] RUN apk add --no-cache git || apk add --no-cache git || apk add --no-cache git #9 CACHED #10 [build 3/5] RUN git clone --depth 1 --branch RELEASE.2025-04-16T18-13-26Z https://github.com/minio/mc.git /src #10 0.191 Cloning into '/src'... #10 4.244 warning: refs/tags/RELEASE.2025-04-16T18-13-26Z 1e78af443bf0443eb177f26421fe081f08d83dc5 is not a commit! #10 4.246 Note: switching to 'b00526b153a31b36767991a4f5ce2cced435ee8e'. #10 4.246 #10 4.246 You are in 'detached HEAD' state. You can look around, make experimental #10 4.246 changes and commit them, and you can discard any commits you make in this #10 4.246 state without impacting any branches by switching back to a branch. #10 4.246 #10 4.246 If you want to create a new branch to retain commits you create, you may #10 4.246 do so (now or later) by using -c with the switch command. Example: #10 4.246 #10 4.246 git switch -c #10 4.246 #10 4.246 Or undo this operation with: #10 4.246 #10 4.246 git switch - #10 4.246 #10 4.246 Turn off this advice by setting config variable advice.detachedHead to false #10 4.246 #10 DONE 4.4s #11 [build 4/5] WORKDIR /src #11 DONE 0.1s #12 [build 5/5] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build for attempt in 1 2 3 4 5; do CGO_ENABLED=0 go build -trimpath -o /mc . && exit 0; done; exit 1 #12 0.433 go: downloading github.com/minio/madmin-go/v3 v3.0.107-0.20250415152934-4b504b82db63 #12 1.076 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20250311173030-29e43e6258d7 #12 1.276 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb #12 DONE 39.7s #13 [stage-1 3/3] COPY --from=build /mc /usr/local/bin/mc #13 DONE 0.1s #14 exporting to image #14 exporting layers #14 exporting layers 1.4s done #14 exporting manifest sha256:8d6d70dbd4d7f47affc37d95aa1de1e72be3d903364844c4a50d38aa997fb41d 0.0s done #14 exporting config sha256:3b6f7fd7c5261dd84ad05342b6d15dc4c278d9693e2f1d415dd4e09316aba07b 0.0s done #14 exporting attestation manifest sha256:c8e250f8b59c84fc13e5a944c784368b21406f0ff671aae08110da606909536b 0.0s done #14 exporting manifest list sha256:30fdc90e0a3c60488f6fd8a50134fce3736716135465fdebd57f0d630c2619da 0.0s done #14 naming to docker.io/library/mtusi-mc:2025-04-16 done #14 unpacking to docker.io/library/mtusi-mc:2025-04-16 #14 unpacking to docker.io/library/mtusi-mc:2025-04-16 0.2s done #14 DONE 1.7s #15 resolving provenance for metadata file #15 DONE 0.0s Image mtusi-mc:2025-04-16 Built