Update PostGIS 3.6.3, prepare for 3.7, and refresh images#447
Merged
Conversation
- Remove PostgreSQL 13 images. - Update Alpine images to Alpine 3.23. - Update PostgreSQL 18 / PostGIS 3.6.3 Debian and Alpine images. - Refresh master images: - Remove 16-master. - Move 17-master and 18-master to Debian Trixie. - Fix Trixie dependencies: PCRE2, TIFF6, t64 runtime packages, and Boost 1.83 alignment. - Build CGAL from the 6.1.x branch for SFCGAL compatibility. - Install h3/h3_postgis and address_standardizer from their upstream main branches. - Run targeted h3-pg regress tests and address_standardizer installcheck. - Prepare for PostGIS >= 3.7: - Update initdb-postgis.sh for optional extension changes. - Handle address_standardizer and postgis_tiger_geocoder moving out of PostGIS itself. - Update postgis-basics to require address_standardizer tests for PostGIS 3.5/3.6 and run them for 3.7+ when available. - Update README.md with the supported version range, Alpine 3.23 package versions, and master image notes. - Update GitHub workflow for the refreshed image matrix.
There was a problem hiding this comment.
Pull request overview
Updates the Docker image matrix to drop PostgreSQL 13, refresh Alpine/Debian bases, and modernize *-master images for upcoming PostGIS 3.7+ extension packaging changes (address_standardizer/tiger geocoder) while adding h3-pg to master builds.
Changes:
- Remove PostgreSQL 13 images; bump Alpine base to 3.23; update PostGIS 3.6.3 images.
- Refresh
*-masterimages to Debian Trixie, CGAL 6.1.x branch, and install/test h3-pg + address_standardizer from upstream. - Adjust init/test scripts to conditionally handle
postgis_tiger_geocoderandaddress_standardizerfor PostGIS >= 3.7.
Reviewed changes
Copilot reviewed 36 out of 37 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| update.sh | Updates Alpine suite default, master suite selection, Boost version handling, and injects new git-hash placeholders (CGAL branch, h3-pg, address_standardizer). |
| test/tests/postgis-basics/run.sh | Makes address_standardizer test conditional based on PostGIS version / extension availability. |
| initdb-postgis.sh | Stops auto-initializing tiger geocoder for PostGIS >= 3.7 via version-gated DO block. |
| README.md | Updates supported versions, Alpine 3.23 package versions, master-image notes, and removes PG13 references. |
| Dockerfile.master.template | Moves master images to updated deps (pcre2/tiff6/t64 packages), adds h3-pg + address_standardizer build/tests, and conditionally creates optional extensions. |
| Dockerfile.alpine.template | Bumps base image to postgres:* -alpine3.23. |
| 18-master/update-postgis.sh | Adds update script for 18-master (currently still assumes tiger geocoder + POSTGIS_VERSION). |
| 18-master/initdb-postgis.sh | Adds initdb script for 18-master with PostGIS<3.7 tiger gating. |
| 18-master/Dockerfile | Regenerates master image on postgres:18-trixie, updated deps and upstream git hashes, plus h3/address_standardizer install/tests. |
| 18-3.6/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 18-3.6 Debian init. |
| 18-3.6/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 18-3.6 Alpine init. |
| 18-3.6/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.6.3 + new SHA256. |
| 18-3.6/Dockerfile | Updates Debian package version to PostGIS 3.6.3. |
| 17-master/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 17-master init. |
| 17-master/Dockerfile | Regenerates master image on postgres:17-trixie, updated deps and upstream git hashes, plus h3/address_standardizer install/tests. |
| 17-3.6/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 17-3.6 Alpine init. |
| 17-3.6/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.6.3 + new SHA256. |
| 17-3.5/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 17-3.5 Debian init. |
| 17-3.5/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 17-3.5 Alpine init. |
| 17-3.5/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.5.6 + new SHA256. |
| 16-master/update-postgis.sh | Removes 16-master update script. |
| 16-master/initdb-postgis.sh | Removes 16-master init script. |
| 16-3.5/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 16-3.5 Debian init. |
| 16-3.5/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 16-3.5 Alpine init. |
| 16-3.5/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.5.6 + new SHA256. |
| 15-3.5/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 15-3.5 Debian init. |
| 15-3.5/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 15-3.5 Alpine init. |
| 15-3.5/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.5.6 + new SHA256. |
| 14-3.5/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 14-3.5 Debian init. |
| 14-3.5/alpine/initdb-postgis.sh | Applies PostGIS<3.7 tiger gating to 14-3.5 Alpine init. |
| 14-3.5/alpine/Dockerfile | Updates to Alpine 3.23 + PostGIS 3.5.6 + new SHA256. |
| 13-3.5/update-postgis.sh | Removes PG13 update script. |
| 13-3.5/initdb-postgis.sh | Removes PG13 init script. |
| 13-3.5/alpine/initdb-postgis.sh | Removes PG13 Alpine init script. |
| 13-3.5/alpine/Dockerfile | Removes PG13 Alpine Dockerfile. |
| 13-3.5/Dockerfile | Removes PG13 Debian Dockerfile. |
| .github/workflows/main.yml | Drops PG13 from CI matrix and updates master builds to PG17/18. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
|
ready to review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
initdb-postgis.shfor optional extension changes.NOTES:
Starting with PostGIS 3.7, PostGIS itself no longer includes the
address_standardizerandpostgis_tiger_geocoderextensions. Now with this change - the *-master images installaddress_standardizerseparately from its upstream repository and run its upstream-style installcheck.See: https://lists.osgeo.org/pipermail/postgis-devel/2026-February/030730.html
Given these changes, this seems like a good opportunity to stop auto-initializing the
postgis_tiger_geocoderextension for PostGIS >= 3.7, even if we end up keepingaddress_standardizerin the Docker image.Adding h3-pg to the *-master images is part of this proposal. ( as an extra )
If this PR is considered too large or too broad in scope, I can split it into multiple PRs.