Skip to content

feat: build PgBouncer images with bake#62

Merged
mnencia merged 8 commits intomainfrom
dev/60
Oct 20, 2025
Merged

feat: build PgBouncer images with bake#62
mnencia merged 8 commits intomainfrom
dev/60

Conversation

@NiccoloFei
Copy link
Contributor

@NiccoloFei NiccoloFei commented Oct 14, 2025

Refactor this project to use the same bake process implemented by the other CNPG repositories.

What's been done:

  • New tags (in total 3 now) to contain both the distro and the timestamp (e.g 1.24.1, 1.24.1-trixie, 1.24.1-202510141550-trixie)
  • Provide SBOM and proper build annotations/labels for the image (because of this, the legacy packages.txt method of tracking files has been removed).
  • Update the Debian base image to use trixie
  • Removed several unneeded packages from the image, which reduced the images size from ~600MB to ~200MB
  • Use renovate to update GH actions and the base debian image
  • Updated GH workflows (build.yml & update.yml) accordingly

Important:
The image has been updated to use the pgbouncer package from Debian instead of building from source.
The pgbouncer package is built using c-ares as DNS backed, while our current images are using libevent (evdns2).

Closes #60 #55

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

NiccoloFei and others added 8 commits October 20, 2025 18:42
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Please evaluate whether to remove it or add it - in this case complete it please. this is just a boiler plate

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@mnencia mnencia merged commit c7dbb48 into main Oct 20, 2025
7 checks passed
@mnencia mnencia deleted the dev/60 branch October 20, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor based on the new postgres-containers project Alternative DNS implementation?

3 participants