Is your feature request related to a problem? Please describe.
The current Docker image size is around 120 MB because it is based on Debian. For a self-hosted project, especially one written in Go, this image size is unnecessarily large. Go compiles into a single static binary, meaning it does not require a heavy Debian userland, package manager, or standard libraries to run. Large images consume extra disk space, increase bandwidth usage during updates, and prolong deployment times for users with limited server resources.
Describe the solution you'd like
I would like to request an optimization of the distribution size. A great solution would be switching the base image from Debian to a lighter alternative, such as Alpine Linux (which would reduce the base to ~10-50 MB) or, ideally, using a multi-stage Docker build with a scratch or distroless image. This would allow the final production image to contain only the compiled Go binary and essential assets.
Why would you like this feature to be added?
Optimizing the image size brings several key benefits:
- Resource Efficiency: Self-hosted users often run projects on low-spec hardware like Raspberry Pis or cheap VPS instances where disk space and RAM are limited.
- Faster Deployments: Smaller images mean much faster download and startup times during updates.
- Enhanced Security: Switching to Alpine, distroless, or scratch drastically reduces the attack surface by removing unused tools, shells, and packages, minimizing potential CVE vulnerabilities.
Thanks.
Is your feature request related to a problem? Please describe.
The current Docker image size is around 120 MB because it is based on Debian. For a self-hosted project, especially one written in Go, this image size is unnecessarily large. Go compiles into a single static binary, meaning it does not require a heavy Debian userland, package manager, or standard libraries to run. Large images consume extra disk space, increase bandwidth usage during updates, and prolong deployment times for users with limited server resources.
Describe the solution you'd like
I would like to request an optimization of the distribution size. A great solution would be switching the base image from Debian to a lighter alternative, such as Alpine Linux (which would reduce the base to ~10-50 MB) or, ideally, using a multi-stage Docker build with a scratch or distroless image. This would allow the final production image to contain only the compiled Go binary and essential assets.
Why would you like this feature to be added?
Optimizing the image size brings several key benefits:
Thanks.