This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/bin/sh
|
||||
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)
|
||||
i=0
|
||||
while ! mc ready local 2>/dev/null; do
|
||||
|
||||
Reference in New Issue
Block a user