Changes between Version 35 and Version 36 of DevWikiDockerTesting


Ignore:
Timestamp:
Feb 1, 2023, 9:26:53 AM (15 months ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiDockerTesting

    v35 v36  
    1010
    1111
    12 Here is an example of how you can pull an image, retag and push to postgis-docker.osgeo.org
     12Any one can pull. Here is an example of how to use the docker.osgeo.org for your development.
     13The docker.osgeo.org/postgis/build-test containers are mostly designed for testing lower versions of postgis dependencies and testing upgrades.  It contains versions of PostgreSQL 10-15 preinstalled from apt.postgresql.org as well as many prior versions of PostGIS compiled for testing upgrading.  It is a hefty image weighing in around 3GB.
    1314
    1415**FOR DEVELOPMENT**
     
    131132}}}
    132133=== Development ===
    133 * **FOR DEVELOPMENT** [https://hub.docker.com/r/postgis/postgis-build-env] - has development images managed by a PostGIS Development team set aside for regression testing.  Do not use these for production use as they don't even have postgis installed on them. You can find the docker files here [https://github.com/postgis/postgis-build-env]
    134 
    135 The postgis-build-env images don't have PostGIS installed on them at all, but have all the key dependencies needed to compile PostGIS.  The version **latest** includes pre-compiled in development versions proj, gdal, geos, postgresql, and sfcgal.  It is used to catch possible issues with other upstream projects.
     134* **FOR DEVELOPMENT** [https://hub.docker.com/r/postgis/postgis-build-env] - has development images managed by a PostGIS Development team set aside for regression testing.  Do not use these for production use as they don't even have postgis installed on them. You can find the docker files here [https://github.com/postgis/postgis-build-env].
     135
     136The postgis-build-env images don't have PostGIS installed on them at all, but have all the key dependencies needed to compile PostGIS.  The version **latest** includes pre-compiled in development versions proj, gdal, geos, postgresql, and sfcgal.  It is used to catch possible issues with other upstream projects.  There are other ones as well tagged with the specific PostgreSQL/Proj/GEOS being tested.  Each has only one version of PostgreSQL installed.
     137
     138This is lighter weight than the docker.osgeo.org dev container.  Each weighs in around 700MB.
    136139
    137140You can set it up much the same as the docker.osgeo.org development suite detailed earlier.
     
    168171cd ${SRCDIR}
    169172sh autogen.sh
    170 # todo, figure out how to allow postgres acocunt to read and write, without 777
     173#TODO: figure out how to allow postgres account to read and write, without 777
    171174sudo chmod -R 777 $SRCDIR
    172175mkdir -p "${BUILDDIR}"
     
    180183cd /projects/postgis
    181184
    182 #TODO fix this, container starts up using postgres, and so these fail if mounting an external source folder
     185#TODO: fix this, container starts up using postgres, and so these fail if mounting an external source folder
    183186# using sudo makes paths not work
    184187/usr/local/pgsql/bin/pg_ctl -c -l /tmp/logfile -o '-F' start
    185 make -j 4
    186188make check
    187189