test repo for postgis/postgis images - https://github.com/ImreSamu/docker-postgis
1M+
Important: Please note that this README document is larger than the 25,000 character limit set by Docker Hub. As a result, the version available on Docker Hub will be trimmed and not complete. For the complete and untrimmed version of the README, it is recommended to visit the project GitHub page: https://github.com/ImreSamu/docker-postgis/blob/master/README.md
The imresamu/postgis image provides tags for running Postgres with PostGIS extensions installed. This image is based on the official postgres image and provides debian and alpine variants for PostGIS which is compatible with PostgreSQL versions 13, 14, 15, 16 and 17. Additionally, an image version is provided which is built from the latest two versions of Postgres (16,17) with versions of PostGIS and its dependencies built from their respective master branches.
This image ensures that the default database created by the parent postgres image will have the following extensions installed:
| installed extensions | initialized |
|---|---|
postgis | yes |
postgis_topology | yes |
postgis_tiger_geocoder | yes |
postgis_raster | |
postgis_sfcgal | |
address_standardizer | |
address_standardizer_data_us |
Unless -e POSTGRES_DB is passed to the container at startup time, this database will be named after the admin user (either postgres or the user specified with -e POSTGRES_USER). If you would prefer to use the older template database mechanism for enabling PostGIS, the image also provides a PostGIS-enabled template database called template_postgis.
We provide multi-platform image support for the following architectures:
amd64: Also known as x86-64.
--platform=linux/amd64 when specifying the platform.arm64: Also known as AArch64.
--platform=linux/arm64 when specifying the platform.Notes:
arm64 architecture support is still experimental. Please refer to the 'arch' column in the version information to determine whether an arm64 version is available for a specific release.| Arch | Build system | Status |
|---|---|---|
| Amd64 | GithubCI-logs | |
| Arm64 | CircleCI-logs |
For those new to PostGIS, we recommend the following image versions:
imresamu/postgis:17-3.5-bookworm: This image includes a minimal setup of PostgreSQL with the PostGIS extension. ( debian bookworm based, easy to extend with debian packages )imresamu/postgis:17-recent-bookworm: (experimental) Latest postgis with the latest geos,proj,gdal,sfcgal. ( debian based, extending is complex ! )imresamu/postgis:16-3.5-bundle0-bookworm: (experimental) This image includes additional geospatial-related extras along with PostgreSQL and PostGIS.docker.io/imresamu/postgis: tags | Dockerfile | Arch | OS | Postgres | PostGIS |
|---|---|---|---|---|---|
13-3.6-bookworm, 13-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 13 | 3.6.1 |
14-3.6-bookworm, 14-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 14 | 3.6.1 |
15-3.6-bookworm, 15-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 15 | 3.6.1 |
16-3.6-bookworm, 16-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 16 | 3.6.1 |
17-3.6-bookworm, 17-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 17 | 3.6.1 |
18-3.6-bookworm, 18-3.6.1-bookworm | Dockerfile | amd64 arm64 | bookworm | 18 | 3.6.1 |
docker.io/imresamu/postgis: tags | Dockerfile | Arch | OS | Postgres | PostGIS |
|---|---|---|---|---|---|
13-3.6-trixie, 13-3.6.1-trixie, 13-3.6 | Dockerfile | amd64 arm64 | trixie | 13 | 3.6.1 |
14-3.6-trixie, 14-3.6.1-trixie, 14-3.6 | Dockerfile | amd64 arm64 | trixie | 14 | 3.6.1 |
15-3.6-trixie, 15-3.6.1-trixie, 15-3.6 | Dockerfile | amd64 arm64 | trixie | 15 | 3.6.1 |
16-3.6-trixie, 16-3.6.1-trixie, 16-3.6 | Dockerfile | amd64 arm64 | trixie | 16 | 3.6.1 |
17-3.6-trixie, 17-3.6.1-trixie, 17-3.6 | Dockerfile | amd64 arm64 | trixie | 17 | 3.6.1 |
18-3.6-trixie, 18-3.6.1-trixie, 18-3.6, latest | Dockerfile | amd64 arm64 | trixie | 18 | 3.6.1 |
*-master images ( same Dockerfile template ) However, for every build, we use the latest released tag from each library (such as postgis, geos, proj, gdal, cgal, sfcgal).docker.io/imresamu/postgis: tags | Dockerfile | Arch | OS | Postgres | PostGIS |
|---|---|---|---|---|---|
17-recent-bookworm, 17-recent-postgis3.6.1-geos3.14.1-proj9.7.1-gdal3.12.1-cgal6.1-sfcgal2.2.0-bookworm, 17-recent-postgis3.6-geos3.14-proj9.7-gdal3.12-cgal6.1-sfcgal2.2-bookworm | Dockerfile | amd64 arm64 | bookworm | 17 | postgis=tags/3.6.1, geos=tags/3.14.1, proj=tags/9.7.1, gdal=tags/v3.12.1, cgal=tags/v6.1, sfcgal=tags/v2.2.0 |
18-recent-bookworm, 18-recent-postgis3.6.1-geos3.14.1-proj9.7.1-gdal3.12.1-cgal6.1-sfcgal2.2.0-bookworm, 18-recent-postgis3.6-geos3.14-proj9.7-gdal3.12-cgal6.1-sfcgal2.2-bookworm | Dockerfile | amd64 arm64 | bookworm | 18 | postgis=tags/3.6.1, geos=tags/3.14.1, proj=tags/9.7.1, gdal=tags/v3.12.1, cgal=tags/v6.1, sfcgal=tags/v2.2.0 |
This repository provides Debian-based PostGIS Docker images enriched with additional geospatial packages such as pgRouting, h3-pg, pgsql-ogr-fdw, MobilityDB, PL/Python3, pgPointcloud, pgVector, TimeScaleDB and others. These images serve as a comprehensive solution for various server side geospatial needs. Please note that the included package list is subject to change as we continue to refine the 'bundle0'.
docker.io/imresamu/postgis: tags | Dockerfile | Arch | OS | Postgres | PostGIS |
|---|---|---|---|---|---|
17-3.6-bundle0-bookworm, 17-3.6.1-bundle0-bookworm | Dockerfile | amd64 arm64 | bookworm | 17 | 3.6.1 |
docker.io/imresamu/postgis: tags | Dockerfile | Arch | OS | Postgres | PostGIS |
|---|---|---|---|---|---|
13-3.4-alpine3.22, 13-3.4.4-alpine3.22, 13-3.4-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 13 | 3.4.4 |
13-3.5-alpine3.22, 13-3.5.4-alpine3.22, 13-3.5-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 13 | 3.5.4 |
13-3.6-alpine3.22, 13-3.6.1-alpine3.22, 13-3.6-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 13 | 3.6.1 |
14-3.4-alpine3.22, 14-3.4.4-alpine3.22, 14-3.4-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 14 | 3.4.4 |
14-3.5-alpine3.22, 14-3.5.4-alpine3.22, 14-3.5-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 14 | 3.5.4 |
14-3.6-alpine3.22, 14-3.6.1-alpine3.22, 14-3.6-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 14 | 3.6.1 |
15-3.4-alpine3.22, 15-3.4.4-alpine3.22, 15-3.4-alpine | Dockerfile | amd64 arm64 | alpine3.22 | 15 | 3.4.4 |
Content type
Image
Digest
sha256:69ad56d6c…
Size
183.9 MB
Last updated
4 days ago
docker pull imresamu/postgis:17-3.6.1-alpine3.22