+1 for me
Alpine is small and more resource efficient. An official Alpine install would lead to a switch from Debian to Alpine in the official docker image.
Hi, FYI I got pihole working on alpine 3.10. I started from scratch, but my work has been inspired by @deftdawg patch and by the last_alpine_commits branch and it's available here and here.
Awesome. I was able to install Pihole on alpine aarch64 with your fork, but I haven't been able get it properly configured. Lighthttpd doesn't seem to be in apk for aarch so I installed Pihole without the web interface. Now I can't get pihole-FTL to start up the dns. If I manually start dnsmasq Was there any extra steps you had to do to set up the dns? I don't necessarily need the web gui.
For me it's working, but there's only one problem: ip -oneline is broken in alpine >= 3.9 and thus the discovery of the interfaces fails. I manually edited /etc/pihole/setupVars.conf to set the PIHOLE_INTERFACE variable.
I think ip -online is fixed on 3.11, so that should be a non issue.
One issue I ran into is that the blocklist update script (gravity.sh) generates the sqlite input with an extra empty line between each entry, which causes the blocklist update to fail. Installing gnu sed to replace busybox sed fixed this.
Oh cool. I'll take a look at that PR but at a quick glance I would suggest not taking that specific approach. There's a lot of little things needed to fit nicely into the Alpine package ecosystem and it looks like that patch doesn't fully solve the issues. Take a look at my downstream package. I'd really appreciate review from Pi-hole maintainers on that and would be willing to contribute my patches upstream to the project.