This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 96b9e60a ci: pull MinIO images from Chainguard (#811)
96b9e60a is described below
commit 96b9e60a57f5ec55b50426dd67a6bd83a0c5b38c
Author: voonhous <[email protected]>
AuthorDate: Wed Sep 30 14:16:33 2026 +0800
ci: pull MinIO images from Chainguard (#811)
---
.github/workflows/ci.yml | 3 ++-
demo/compose.yaml | 9 +++++----
demo/infra/mc/Dockerfile | 31 -------------------------------
3 files changed, 7 insertions(+), 36 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e7166487..913344b4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -281,7 +281,8 @@ jobs:
uses:
docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
- name: Pre-pull base images
run: |
- docker pull quay.io/minio/minio:latest
+ docker pull cgr.dev/chainguard/minio:latest
+ docker pull cgr.dev/chainguard/minio-client:latest-dev
- name: Prepare cache directories with correct permissions
run: |
mkdir -p .cargo/registry .cargo/git target python/target .uv-cache
diff --git a/demo/compose.yaml b/demo/compose.yaml
index 2becd436..2d50ba74 100644
--- a/demo/compose.yaml
+++ b/demo/compose.yaml
@@ -18,7 +18,7 @@
services:
# storage layer containing test data
minio:
- image: quay.io/minio/minio:latest
+ image: cgr.dev/chainguard/minio:latest
container_name: minio
ports:
- 9000:9000
@@ -34,9 +34,10 @@ services:
retries: 3
# minio client to prepare test data
+ # latest-dev, not latest: the plain image has no shell or unzip, and
+ # prepare_data.sh needs both.
mc:
- build:
- context: ./infra/mc
+ image: cgr.dev/chainguard/minio-client:latest-dev
container_name: mc
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
@@ -47,7 +48,7 @@ services:
volumes:
- ../crates/test/data:/opt/data:ro
- ./infra/mc/prepare_data.sh:/opt/prepare_data.sh
- command:
+ entrypoint:
- /bin/sh
- -c
- /opt/prepare_data.sh
diff --git a/demo/infra/mc/Dockerfile b/demo/infra/mc/Dockerfile
deleted file mode 100644
index 0b825c38..00000000
--- a/demo/infra/mc/Dockerfile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# MinIO stopped serving client binaries from dl.min.io (the release and
-# archive paths now answer 410 Gone), so the client is taken from its
-# container image instead. Pinned: the tag is the only thing that makes
-# this build reproducible.
-FROM quay.io/minio/mc:RELEASE.2025-08-13T08-35-41Z AS mc
-
-FROM alpine
-
-RUN apk update && apk add --no-cache \
- ca-certificates bash unzip
-
-COPY --from=mc /usr/bin/mc /usr/local/bin/mc
-
-WORKDIR /opt/data