This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Move back to postgis repo and svn-trunk branch (#5)"
This reverts commit 806994d.
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
@@ -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 |