aboutsummaryrefslogtreecommitdiff
path: root/projects/postgis
diff options
context:
space:
mode:
authorDarafei Praliaskouski <me@komzpa.net>2019-02-16 22:55:04 +0300
committerMax Moroz <dor3s1@gmail.com>2019-02-16 11:55:04 -0800
commit636b1dfb3666fecd0f5eace2ea12307d3e1820b0 (patch)
tree685313934095f4cc27cc34d2b9ce0449c0db9d86 /projects/postgis
parentc205defe5f006c6675bfae539deb00bd2e89d44e (diff)
downloadoss-fuzz-636b1dfb3666fecd0f5eace2ea12307d3e1820b0.tar.gz
[postgis] Update PostGIS dependencies (#2173)
PostGIS depends on GEOS, and recently requres GEOS 3.6 which cannot be found in ubuntu 16.04. With this change build will pull newest GEOS 3.7 from Ubuntu 19.04.
Diffstat (limited to 'projects/postgis')
-rw-r--r--projects/postgis/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/postgis/Dockerfile b/projects/postgis/Dockerfile
index d6d4a2cdd..59deba48d 100644
--- a/projects/postgis/Dockerfile
+++ b/projects/postgis/Dockerfile
@@ -16,7 +16,8 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER lr@pcorp.us
-RUN apt-get update && apt-get install -y make autoconf automake libtool g++ postgresql-server-dev-9.5 libgeos-dev libproj-dev libxml2-dev pkg-config libjson-c-dev
+RUN echo deb http://archive.ubuntu.com/ubuntu/ disco main restricted universe multiverse >> /etc/apt/sources.list
+RUN apt-get update && apt-get install -y make autoconf automake libtool g++ postgresql-server-dev-11 libgeos-dev libproj-dev libxml2-dev pkg-config libjson-c-dev
RUN git clone --depth 1 https://git.osgeo.org/gogs/postgis/postgis.git postgis
WORKDIR postgis
COPY build.sh $SRC/