Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Revert "Move back to postgis repo and svn-trunk branch (#5)"
Browse files Browse the repository at this point in the history
This reverts commit 806994d.
  • Loading branch information
jirik committed May 26, 2017
1 parent e463938 commit 8c75c3d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM postgres:9.6
MAINTAINER "Lukas Martinelli <[email protected]>"
ENV POSTGIS_MAJOR=2.4dev \
POSTGIS_VERSION=2.4dev \
ENV POSTGIS_MAJOR=2.3 \
POSTGIS_VERSION=2.3.1 \
GEOS_VERSION=3.6.0

RUN apt-get -y update \
&& apt-get -y --no-install-recommends install \
autotools-dev \
automake \
autoconf \
bison \
curl \
git \
libtool \
Expand Down Expand Up @@ -52,14 +51,13 @@ RUN cd /opt/ \
&& ldconfig

RUN cd /opt/ \
&& git clone -b svn-trunk https://github.com/postgis/postgis.git \
&& git clone -b asmvt https://git.osgeo.org/gogs/bjornharrtell/postgis.git \
&& cd postgis \
&& git reset --hard a767ba280e73446aa33a32ec253781a2f0da7d67 \
&& ./autogen.sh \
&& ./configure CFLAGS="-O0 -Wall" \
&& make \
&& make install \
&& ldconfig
&& make install \
&& ldconfig

##&& (cd /opt/postgis/extensions/postgis && make -j && make install) \
COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh

0 comments on commit 8c75c3d

Please sign in to comment.