switched to debian for smaller image size, handled term signals