Use other minio as the quay.io is not available
cc-ci/testme cc-ci: failure

This commit is contained in:
Linus Gasser
2026-09-28 17:26:36 +02:00
parent 95489da91f
commit 782e3f0965
2 changed files with 10 additions and 4 deletions
+5 -4
View File
@@ -229,7 +229,8 @@ services:
- backend - backend
minio: minio:
image: quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z image: bitnamilegacy/minio:2025.7.23-debian-12-r5
user: root
environment: *minio-env environment: *minio-env
healthcheck: healthcheck:
test: ["CMD", "mc", "ready", "local"] test: ["CMD", "mc", "ready", "local"]
@@ -239,11 +240,11 @@ services:
networks: networks:
- backend - backend
- proxy - proxy
command: minio server /data command: /opt/bitnami/scripts/minio/run.sh
entrypoint: > entrypoint: >
sh -c "/minio-initialize.sh & exec /usr/bin/docker-entrypoint.sh \"$$@\"" -- sh -c "/minio-initialize.sh & exec /opt/bitnami/scripts/minio/entrypoint.sh \"$$@\"" --
volumes: volumes:
- minio:/data - minio:/bitnami/minio/data
configs: configs:
- source: abra_entrypoint - source: abra_entrypoint
target: /abra-entrypoint.sh target: /abra-entrypoint.sh
+5
View File
@@ -1,6 +1,11 @@
#!/bin/sh #!/bin/sh
set -e set -e
# Use an isolated mc config dir: the bundled Bitnami image runs its own
# internal mc client (as the "minio" user) against the default /.mc path,
# which collides with this script running as root against the same path.
export MC_CONFIG_DIR=/tmp/mc-drive-init
# Wait for minio to be ready (up to 60 seconds) # Wait for minio to be ready (up to 60 seconds)
i=0 i=0
while ! mc ready local 2>/dev/null; do while ! mc ready local 2>/dev/null; do