mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #143] Docker image upgrade #58
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mageddo on GitHub (Aug 11, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/143
What is expected
DPS can be upgraded to debian 10 and start to use the slim image using a lightweight image
@ricardoper commented on GitHub (Aug 13, 2019):
Hello,
Why not a static compile and use
FROM scratch?Sizes:
scratch - 11MB
debian:stable-slim - 80MB
debian:8 - 167MB
Take a look at CoreDNS...
Regards.
@mageddo commented on GitHub (Aug 13, 2019):
thanks for the suggestion @ricardoper
I never heard about scratch image, I will take a look then make some tests
@ricardoper commented on GitHub (Aug 13, 2019):
scratchis a special image because this is a empty image. No files inside...I don't know all the parts of this project, but I think that you can compile statically with some extra flags. So no system dependencies, no dependencies at all, no system required on your container. The binary it's a bit larger but you reduce the container size a lot.
Less than 20MB for this container project will be a extreme plus.
You are welcome.
@ricardoper commented on GitHub (Aug 17, 2019):
The app needs access to SSL certificates?
In the next hours/days I will create a pull request for lighter containers.
I already have a functional example. Less than 11MB for AMD64 containers without SSL certificates.
@mageddo commented on GitHub (Aug 17, 2019):
Actually not
@mageddo commented on GitHub (Aug 17, 2019):
As said, DPS is dependent on some linux commands, I will keep this issue focused on upgrade and migrate the images to
debian:10-slimas migrate to scratch image will requires a additional effort@ricardoper commented on GitHub (Aug 17, 2019):
I read all messages and understood... Sorry for that.
If you need my help, please don't hesitate to tell me.