Pinned psql, newest Python, GDAL and PostGIS commands
792
psql pinned by the tag to a PostgreSQL major version, newest Python,
newest GDAL and PostGIS loaders. For loading and maintaining data in a
PostGIS server of a known version.
Source and the full description of all three images: github.com/KubaSzostak/SzoPy/tree/main/images
| Tag | Meaning |
|---|---|
18, 17 | PostgreSQL major version of psql; moves to the newest build of that version |
18.261007 | the same, date-stamped, for rollback |
latest | the newest PostgreSQL in the list |
psql of the tagged version and shp2pgsql, pgsql2shp, raster2pgsql
from PGDG; no PostgreSQL servergit and rclone/opt/conda/envs/szo, on PATHgdal, shapely, fiona, pyogrio, rasterio, geopandas,
matplotlib, h3-py, duckdbszo, psycopg (v3), sqlalchemy, requests, python-dotenv,
pyyaml, numpy, pandas, polars, pyarrow, openpyxl,
xlsxwriter, tabulate, structlog, pytest/app, default command bash, runs as rootszo named by SZO_VERSION, if setservices:
app:
image: xszo/postgispy:18
user: "1000:1000"
working_dir: /app
volumes:
- ./scripts:/app:ro
command: python load.py
Set user: to the owner of the mounted folders; HOME is /home/app,
writable by any uid. SZO_VERSION: "0.1.0" in environment: installs
that szo at every start instead of the baked-in newest release.
docker run --rm -v "$PWD:/app" xszo/postgispy:18 \
shp2pgsql -s 4326 regions.shp public.regions
Content type
Image
Digest
sha256:c6ba451c1…
Size
1.2 GB
Last updated
20 days ago
docker pull xszo/postgispy