From bca482fabf54ddefa07c1d1f9e06bb40629b2537 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 8 Nov 2023 03:21:23 +0000 Subject: [PATCH] build: allow skipping init s3 bucket creation --- src/backend/app-entrypoint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backend/app-entrypoint.sh b/src/backend/app-entrypoint.sh index 8f4c4e20b6..e039e1251e 100644 --- a/src/backend/app-entrypoint.sh +++ b/src/backend/app-entrypoint.sh @@ -47,5 +47,9 @@ wait_for_s3 & # Wait until checks complete wait -create_s3_buckets +# Skip init S3 if env var passed +if [ -n "$SKIP_S3_INIT" ]; then + create_s3_buckets +fi + exec "$@"