This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM pihole/pihole:latest | |
| # Run s6 in its own PID namespace so that it is PID 1, even when the | |
| # environment already has its own init process (fly.io has a non-optional | |
| # one), to avoid this error: | |
| # s6-overlay-suexec: fatal: can only run as pid 1 | |
| # | |
| # Un-ignore SIGINT and SIGTERM signals so that s6-init and all its child | |
| # processes don't default to ignoring those signals. A bug in the "unshare" | |
| # utility propagates ignoring these signals to the child process, which is |