This is an automated email from the ASF dual-hosted git repository.

yzheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new dff3769ab (nit): Getting started examples with mc/s5cmd to aws cli 
(#3526)
dff3769ab is described below

commit dff3769ab54dc3ce68b4b33e8c64dd4c91e58435
Author: Yong Zheng <[email protected]>
AuthorDate: Mon Jan 26 16:58:08 2026 -0600

    (nit): Getting started examples with mc/s5cmd to aws cli (#3526)
    
    * Switch mc/s3cmd to aws cli
    
    * Switch mc/s3cmd to aws cli
---
 getting-started/ceph/docker-compose.yml   |  8 ++++----
 getting-started/rustfs/README.md          |  3 ---
 getting-started/rustfs/docker-compose.yml | 11 +++++++----
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/getting-started/ceph/docker-compose.yml 
b/getting-started/ceph/docker-compose.yml
index afecbdc78..5082abcf0 100644
--- a/getting-started/ceph/docker-compose.yml
+++ b/getting-started/ceph/docker-compose.yml
@@ -128,14 +128,14 @@ services:
       - osd1
 
   setup_bucket:
-    image: peakcom/s5cmd:v2.3.0
+    image: amazon/aws-cli:2.33.6
     depends_on:
       - rgw1
     environment:
       AWS_ACCESS_KEY_ID: ${RGW_ACCESS_KEY}
       AWS_SECRET_ACCESS_KEY: ${RGW_SECRET_KEY}
-      S3_ENDPOINT_URL: ${S3_ENDPOINT_URL}
-      S3_REGION: ${S3_REGION}
+      AWS_ENDPOINT_URL: ${S3_ENDPOINT_URL}
+      AWS_REGION: ${S3_REGION}
       S3_POLARIS_BUCKET: ${S3_POLARIS_BUCKET}
     entrypoint: "/bin/sh"
     command:
@@ -145,7 +145,7 @@ services:
         echo ">>> Waiting for RGW to become ready...";
         sleep 5;
         echo ">>> Create bucket if not exist...";
-        /s5cmd --endpoint-url ${S3_ENDPOINT_URL} mb s3://${S3_POLARIS_BUCKET} 
|| true;
+        aws s3 mb s3://${S3_POLARIS_BUCKET} || true;
         tail -f /dev/null;
 
   polaris:
diff --git a/getting-started/rustfs/README.md b/getting-started/rustfs/README.md
index 54f9fbe30..2ff60971a 100644
--- a/getting-started/rustfs/README.md
+++ b/getting-started/rustfs/README.md
@@ -19,9 +19,6 @@
 
 # Getting Started with Apache Polaris and RustFS
 
-> [!WARNING]
-> Disclaimer: This getting-started example uses mc from MinIO OSS for local 
testing only. MinIO OSS is in maintenance mode, and MinIO container images may 
no longer receive updates or security fixes. For production setups, 
[rc](https://github.com/rustfs/cli) should be used.
-
 ## Overview
 
 This example uses [RustFS](https://rustfs.com/) as a storage provider with 
Polaris.
diff --git a/getting-started/rustfs/docker-compose.yml 
b/getting-started/rustfs/docker-compose.yml
index 31d02aee1..82b852221 100644
--- a/getting-started/rustfs/docker-compose.yml
+++ b/getting-started/rustfs/docker-compose.yml
@@ -65,18 +65,21 @@ services:
       start_period: 10s
 
   setup_bucket:
-    image: quay.io/minio/mc:RELEASE.2025-08-13T08-35-41Z
+    image: amazon/aws-cli:2.33.6
     depends_on:
       rustfs:
         condition: service_healthy
+    environment:
+      AWS_ACCESS_KEY_ID: rustfsadmin
+      AWS_SECRET_ACCESS_KEY: rustfsadmin
+      AWS_ENDPOINT_URL: http://rustfs:9000
     entrypoint: "/bin/sh"
     command:
       - "-c"
       - >-
         echo Creating RustFS bucket...;
-        mc alias set pol http://rustfs:9000 rustfsadmin rustfsadmin;
-        mc mb pol/bucket123;
-        mc ls pol;
+        aws s3 mb s3://bucket123;
+        aws s3 ls;
         echo Bucket setup complete.;
 
   polaris-setup:

Reply via email to