FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests