pg-base backup image pins postgresql-client-16 — bump to 18 and add --no-install-recommends
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
Research direction
Start in docker/pg-base and locate the Dockerfile install line for the PostgreSQL client. Update the package and apt options as specified, then build the pg-base image and confirm the backup image uses the intended client version without recommended packages.
Written by the indexing model from the issue text.
Description
docker/pg-base exists solely to carry pg_dump for backup jobs. Two issues with its install line:
-
Version pin is a latent backup-breaker.
pg_dumpcan dump servers older or equal to its own major, and refuses newer ones. Current production RDS (surveyed 2026-07-29 across us-east-1, ca-central-1, eu-central-1, ap-southeast-2 with the cloud profile) runs PostgreSQL 15.15–15.17, so client-16 works today — but the rest of the repo (dev image, java-base, main image, all compose stacks) is already on PG18, and the day any backed-up database upgrades past 16, dumps hard-fail. Bumping topostgresql-client-18is strictly safe (dumps ≤18) and future-proofs the image. -
Missing
--no-install-recommends— the one apt install in shipped Dockerfiles still lacking it (same recommends-chain exposure class as #36806, which broke a release build).
Side observation for the platform team: dev/test stacks run PG18 while all prod databases run 15.x — a three-major parity gap worth its own discussion.
Fix: apt install -y --no-install-recommends postgresql-client-18.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 164
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotCMS/core
-
dotCMS : Build Team : Falcon Type : Task
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
OKR : Customer Support Team : Maintenance
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Team : Modernization
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
dotCMS : Workflow Team : Cloud Eng
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
-
Team : Maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100