sameersbn / docker-apt-cacher-ng

Dockerfile to create a Docker container image for Apt-Cacher NG
MIT License
210 stars 72 forks source link

Use tini as the entry point to handle signals correctly #9

Closed Moredread closed 7 years ago

Moredread commented 7 years ago

Proposal to solve issue #8

Moredread commented 7 years ago

Sure, I'll make the changes ASAP

Moredread commented 7 years ago

I've done the changes, hope everything is fine now. :)

Moredread commented 7 years ago

@sameersbn had you time already to look at the changes?

sameersbn commented 7 years ago

sorry for the delay. the changes have been merged :+1:

sameersbn commented 6 years ago

please note that i've removed tini from the image. You should use the --init flag so that docker daemon injects a init process into the container that correctly reaps process and handles signals.