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.

(cherry picked from commit f4e63cd070)
This commit is contained in:
Seua Polyakov 2019-06-06 22:36:21 +03:00 committed by Artem Navoiev
parent 11979e4d85
commit 5e51ce386e

View File

@ -1 +1,2 @@
FROM golang:1.12.5
STOPSIGNAL SIGINT