Skip to content

Commit

Permalink
Bump GEOS 3.9.1 (#345)
Browse files Browse the repository at this point in the history
Bump GEOS 3.9.1

```
postgres=# select postgis_full_version();
                                                                                  postgis_full_version                                                                                  
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="3.1.1 aaf4c79" [EXTENSION] PGSQL="96" GEOS="3.9.1-CAPI-1.14.2" PROJ="Rel. 4.9.3, 15 August 2016" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)"
  • Loading branch information
TomPohys authored Apr 23, 2021
1 parent 38b887b commit 28edcfe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/postgis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ FROM postgis/postgis:$BASE_POSTGIS_VER

LABEL maintainer="Yuri Astrakhan <[email protected]>"

# https://github.com/libgeos/geos/releases
ARG GEOS_VER=3.9.1

# https://github.com/pramsey/pgsql-gzip/releases
ARG PGSQL_GZIP_TAG=v1.0.0
ARG PGSQL_GZIP_REPO=https://github.com/pramsey/pgsql-gzip.git
Expand Down Expand Up @@ -36,6 +39,16 @@ RUN set -eux ;\
libkakasi2-dev \
libgdal-dev \
;\
## Install specific GEOS version
cd /opt/ ;\
curl -o /opt/geos.tar.bz2 http://download.osgeo.org/geos/geos-${GEOS_VER}.tar.bz2 ;\
mkdir /opt/geos ;\
tar xf /opt/geos.tar.bz2 -C /opt/geos --strip-components=1 ;\
cd /opt/geos/ ;\
./configure ;\
make -j ;\
make install ;\
rm -rf /opt/geos* ;\
##
## gzip extension
cd /opt/ ;\
Expand Down

0 comments on commit 28edcfe

Please sign in to comment.