1
[Feature Request] Drop postgresql-client / mariadb-client from the image (readiness check in Python)
Source: paperless-ngx/paperless-ngx#14889 · opened by @Ollornog
AI usage Yes, AI tools helped write this request (analysis and wording were done with an AI assistant; I reviewed the result and stand behind it). Description The runtime image installs postgresql-client and mariadb-client (RUNTIME_PACKAGES in the Dockerfile). As far as I can see, their only use is the readiness check in docker/rootfs/etc/s6-overlay/s6-rc.d/init-wait-for-db/run (pg_isready or mariadb-admin ping, depending on PAPERLESS_DBENGINE). Every installation uses one database engine, so one of the two clients is never used, and the other one only for a few seconds at startup. Image scanners still count both. On a PostgreSQL deployment of 3.5.1, grype reports 177 high/critical findings that have a Debian fix. 94 of them belong to postgresql-client-17 (34) and the MariaDB packages (60: mariadb-client, mariadb-client-core, mariadb-common, libmariadb3). Every operator who scans images has to triage these, even though they are not reachable. Possible ways (any of them would help…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature Request] add waiting-for-db loop to the install script
1 vote · 0 comments
[Feature Request] overhaul worker management
1 vote · 0 comments
Unauthenticated liveness/readiness endpoint for Kubernetes probes
1 vote · 0 comments
Support MariaDB unix domain socket
1 vote · 0 comments
[Feature Request] Show and sort by file size in document list
1 vote · 0 comments
No comments yet.