Replace rusoto
This commit is contained in:
parent
23628d6f9b
commit
5f1d9c1f4d
9
docker/create-mc-defaults.sh
Executable file
9
docker/create-mc-defaults.sh
Executable file
@ -0,0 +1,9 @@
|
||||
mc alias s minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD
|
||||
|
||||
for f in $(mc ls -q --no-color --json minio | jq .key | xargs echo); do
|
||||
mc rb --force minio/$f
|
||||
done
|
||||
|
||||
for d in $(echo $MINIO_DEFAULT_BUCKETS); do
|
||||
mc mb minio/$d
|
||||
done
|
8
docker/mc.Dockerfile
Normal file
8
docker/mc.Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM bitnami/minio-client
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./docker/jq /usr/bin
|
||||
COPY docker/create-mc-defaults.sh .
|
||||
|
||||
ENTRYPOINT [ "sh", "/app/create-mc-defaults.sh" ]
|
Loading…
Reference in New Issue
Block a user