-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use distroless image as the base build for pi-hole #1251
Comments
Thanks for the links - I will take a look into this at some point in the near future |
No problem! |
One thing that would be impossible tho, is any short of customization for the docker container for a user. |
Here is the size comparison :
|
So, i've been tinkering trying to get pi-hole into distroless, it nearly working. Here is the current modification: And here is the current size comparison (as of the tag 2022.12.1):
And if this is too much of a maintenance hell (which is relatable), i could always help trying to get it to alpine #980 |
Please feel free to submit a PR that builds a distroless image (though I cannot promise it will be merged), as I would like to see how it may fit into the build process. Alpine would be a good target - but for that to work we either need to:
Pre-pre-pre alpha versions of v6.0 exist, I am going to start looking creating a container version in the next few weeks. |
Sure no problem, when i will got it working at 100% i'll make a PR! Bash would be a easier option for sure And awesome i'll be happy to help test it out or help if you need! ^^ Also, on what will pihole v6 be based on ? |
Hey @PromoFaux maybe you could help me on this one, because i'm kinda stalling on it ^^" Here is the current start of the container rn issues rn:
This seems to be related to IPV6, but even tho |
I could make a draft pull request in the current state |
Little update: i've decided to take another approach to it, i'll try to see how it goes tomorrow. |
Alright i'm closing this... I'll work my way to take pi-hole on alpine #980 |
Hey, thanks for giving it a shot anyway - maybe we get a bit more mature in the v6 development process it can be something we look at again |
Maybe we could, but to be honest i think distrolless is more targeted to software who are just a whole binary (like go apps), and with debian having 4000x dependency linked every (thank libc), it would just add a massive burden to keep it maintained. |
Btw could you maybe create a |
I don't think that your plan will work. I created a working Dockerfile for alpine a while ago only failing one week later on lighttpd. It's quite hard to maintain. I guess the only solution is to rewrite the basic script. Maybe one could simplify the install process. |
Distroless images are super tiny (like very very tiny) and only contain the necessary stuff to run an app.
I don't know if this would be super necessary, but i guess it would be great.
For sure it will need a hell test before to make sure it doesn't break pi-hole, since it while be quite different.
But (from what i've read) the following stuff would be improved:
This is a: Feature Request (i guess?)
Details
(picked up from GoogleContainer github):
More here or here and here (alpine vs buster-slim vs distroless image)
Related Issues
The text was updated successfully, but these errors were encountered: