fix(duck): forward stop signals through container init (#7371)

Reuse the existing container init option so the duck server receives SIGTERM instead of waiting for Docker to force-kill PID 1. Preserve the configured URL path and the existing stop timeout.

Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-02 23:14:46 -04:00
1 parent e872bdc308
commit 7bac1e356a
2 files changed
+65

No files matched your search

@@ -116,6 +116,7 @@ public class FlociDuckManager {
ContainerSpec spec = containerBuilder.newContainer(image)
.withName(containerName)
.withInit()
.withEnv("FLOCI_DUCK_S3_ACCESS_KEY", "test")
.withEnv("FLOCI_DUCK_S3_SECRET_KEY", "test")
.withEnv("FLOCI_DUCK_S3_REGION", config.defaultRegion())