docker-postgis/base_build
admire f3264d4db8 Random optimisations 2021-03-01 08:42:38 +02:00
..
scripts Add several default locale for testing 2021-01-28 02:00:51 +07:00
README.md added base build folder into main branch and various optimisations - revert commit for fixing passwords with strange characters - not worth the hassle 2021-01-02 23:34:42 +02:00

README.md

Build Status

docker-postgis

A docker image that installs all the dependency for building kartoza/postgis image variants.

Visit our page on the docker hub at: https://hub.docker.com/r/kartoza/postgis/

Alternative base distributions builds

There are build args for DISTRO (=debian), IMAGE_VERSION (=buster) and IMAGE_VARIANT (=slim) which can be used to control the base image used (but it still needs to be Debian based and have PostgreSQL official apt repo).

For example making Ubuntu 20.04 based build (for better arm64 support) First build the base image using the in the folder base_build using the build script following instructions from Kartoza base image builds

Then build the PostGIS base Image using

docker build --build-arg DISTRO=ubuntu --build-arg IMAGE_VERSION=focal --build-arg IMAGE_VARIANT="" -t kartoza/postgis:$DISTRO-$IMAGE_VERSION-$IMAGE_VARIANT-base .

Locales

By default, the image build will include all locales to cover any value for locale settings such as DEFAULT_COLLATION, DEFAULT_CTYPE or DEFAULT_ENCODING.

You can safely delete all locales except for the ones you need in scripts/locale.gen. This will speed up the build considerably.

Support

If you require more substantial assistance from kartoza (because our work and interaction on docker-postgis is pro bono), please consider taking out a Support Level Agreeement

Credits

Tim Sutton (tim@kartoza.com) Gavin Fleming (gavin@kartoza.com) Rizky Maulana (rizky@kartoza.com) Admire Nyakudya (admire@kartoza.com) December 2020