Skip to content

Update PostGIS 3.6.3, prepare for 3.7, and refresh images#447

Merged
ImreSamu merged 1 commit into
postgis:masterfrom
ImreSamu:update2026apr
Apr 18, 2026
Merged

Update PostGIS 3.6.3, prepare for 3.7, and refresh images#447
ImreSamu merged 1 commit into
postgis:masterfrom
ImreSamu:update2026apr

Conversation

@ImreSamu
Copy link
Copy Markdown
Member

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

NOTES:

Starting with PostGIS 3.7, PostGIS itself no longer includes the address_standardizer and postgis_tiger_geocoder extensions. Now with this change - the *-master images install address_standardizer separately 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_geocoder extension for PostGIS >= 3.7, even if we end up keeping address_standardizer in 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.

- 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.
Copilot AI review requested due to automatic review settings April 16, 2026 15:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 *-master images 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_geocoder and address_standardizer for 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.

@ImreSamu ImreSamu requested a review from phillipross April 16, 2026 17:59
@ImreSamu
Copy link
Copy Markdown
Member Author

ready to review

Copy link
Copy Markdown
Contributor

@phillipross phillipross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@ImreSamu ImreSamu merged commit 51b3555 into postgis:master Apr 18, 2026
31 checks passed
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.

3 participants