diff --git a/backend/vault/extra/Dockerfile b/backend/vault/extra/Dockerfile index aacc9bc4dfd0d..2736b54d66143 100644 --- a/backend/vault/extra/Dockerfile +++ b/backend/vault/extra/Dockerfile @@ -27,7 +27,7 @@ RUN echo "6c340afe7608744d099834972ca243ee5eaed6f1 /wait" | sha1sum --check && \ # this will be the bootstrap script that runs, when the vault containers runs ADD dev/bootstrap.sh bootstrap.sh -RUN echo "233bb40f0e97a2822a5e0e0b55b7f1ccbf7b1724 ./bootstrap.sh" | sha1sum --check && \ +RUN echo "a45490b064f32b3cbe61a0c9df08c951f9d5f1c1 ./bootstrap.sh" | sha1sum --check && \ chmod +x ./bootstrap.sh # TODO: we may remove these values here, because vault will need a docker diff --git a/backend/vault/extra/bootstrap.sh b/backend/vault/extra/bootstrap.sh index 529749c3a7498..2ce7477f7f80f 100644 --- a/backend/vault/extra/bootstrap.sh +++ b/backend/vault/extra/bootstrap.sh @@ -92,8 +92,8 @@ mkdir -p /usr/local/bin curl -sL --fail https://dl.min.io/client/mc/release/linux-amd64/mc --create-dirs -o /usr/local/bin/mc # this is to notice upstream changes and to track them, manually for now # echo '070f831f1df265ca7de913e6be0174a7555cb3e9 /usr/local/bin/mc' | sha1sum -c -# chmod +x /usr/local/bin/mc -chmod +x ./mc +chmod +x /usr/local/bin/mc +# chmod +x ./mc # The default configuration stores deposited content in a local S3 daemon. The # bucket in which replica content is stored must be created manually. # @@ -103,8 +103,10 @@ chmod +x ./mc # > mc commands that operate on S3-compatible services require specifying an # alias for that service. -- https://min.io/docs/minio/linux/reference/minio-mc/mc-alias.html -./mc alias set vault http://minio:9000 accesskey secretkey -./mc mb vault/s3storagemanagerdevstorage +# ./mc alias set vault http://minio:9000 accesskey secretkey +# ./mc mb vault/s3storagemanagerdevstorage +/usr/local/bin/mc alias set vault http://minio:9000 accesskey secretkey +/usr/local/bin/mc mb vault/s3storagemanagerdevstorage # run workers in the background; taken from Makefile: make run-workers; we do # not care how these are teared down