PlusMinus0 / headless-jd2-docker

Headless JDownloader 2 Docker Container
31 stars 38 forks source link

improve signal handling, alpine #16

Closed sbaier1 closed 6 years ago

sbaier1 commented 6 years ago

tini allows proper signal propagation and using exec to replace the shell as the top process tree element we can ensure proper propagation of the signal that is received by the container.

this is the way most well-known and official docker images handle signal propagation for java applications.

switch to alpine proposed simply because it allows easier install of tini without having to deal with gpg verification intermittent errors

PlusMinus0 commented 6 years ago

Thanks you for your pull request, looks interesting.