From f4e63cd070ecedc54088dc3efa1320d482af722a Mon Sep 17 00:00:00 2001 From: Seua Polyakov Date: Thu, 6 Jun 2019 22:36:21 +0300 Subject: [PATCH] Add SIGINT as stopsignal to docker file (#54) Add sigint as stopsignal to docker file. You can find more here: https://docs.docker.com/engine/reference/builder/#usage With this change, the main process inside the container will receive SIGINT, and after a grace period, SIGKILL. --- deployment/docker/builder/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/docker/builder/Dockerfile b/deployment/docker/builder/Dockerfile index 30ba6d328..4e3d69d89 100644 --- a/deployment/docker/builder/Dockerfile +++ b/deployment/docker/builder/Dockerfile @@ -1 +1,2 @@ FROM golang:1.12.5 +STOPSIGNAL SIGINT