postgis / docker-postgis

Docker image for PostGIS
https://hub.docker.com/r/postgis/postgis/
MIT License
1.37k stars 462 forks source link

Lock alpine3.14 ( temporary fix for alpine 3.15 newer geos ) #272

Closed ImreSamu closed 2 years ago

ImreSamu commented 2 years ago

upstream docker Postgres - has been upgraded to Alpine 3.15 ( with latest geos )

and now the current code ( 13-3.1/alpine/Dockerfile) is failing

/bin/sh: /usr/lib/llvm12/bin/llvm-lto: not found
make[1]: Leaving directory '/usr/src/postgis/postgis'
make[1]: *** [/usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk:236: install] Error 127
make: *** [GNUmakefile:22: install] Error 1

Upgrading Postgis to Alpine 3.15 is still not working ( 2 check fails in Postgis 3.1.4 ) -> https://github.com/postgis/docker-postgis/pull/271#issuecomment-982678639

So this is an alternative quick&dirty fix:

ImreSamu commented 2 years ago

ready to review