From 5cdafb23e7d6a457ba35f4c1bf856ffd33ba31bc Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Thu, 6 Jul 2023 11:20:32 -0500 Subject: [PATCH] ci: fix ARM docker containers not stopping immediately --- .github/scripts/arm/docker-env/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/arm/docker-env/Dockerfile b/.github/scripts/arm/docker-env/Dockerfile index 93ec2d4631..b94fcaaeee 100644 --- a/.github/scripts/arm/docker-env/Dockerfile +++ b/.github/scripts/arm/docker-env/Dockerfile @@ -13,4 +13,6 @@ EXPOSE 3000 USER 1000 -CMD postgrest +# Use the array form to avoid running the command using bash, which does not handle `SIGTERM` properly. +# See https://docs.docker.com/compose/faq/#why-do-my-services-take-10-seconds-to-recreate-or-stop +CMD ["postgrest"]