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

Commit

Permalink
Merge pull request #1 from stirringhalo/test-2.3
Browse files Browse the repository at this point in the history
Move to postgres 9.6, postgis 2.3.1 and geos 3.6.0
  • Loading branch information
lukasmartinelli authored Dec 1, 2016
2 parents f17418a + 603c463 commit 6ce7576
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM postgres:9.5
FROM postgres:9.6
MAINTAINER "Lukas Martinelli <[email protected]>"
ENV POSTGIS_MAJOR=2.2 \
POSTGIS_VERSION=2.2.2 \
GEOS_VERSION=3.5.0
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 \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PostgreSQL with GEOS 3.5 and PostGIS 2.2
# PostgreSQL with GEOS 3.6.0 and PostGIS 2.3.1
[![](https://images.microbadger.com/badges/image/openmaptiles/postgis.svg)](https://microbadger.com/images/openmaptiles/postgis "Get your own image badge on microbadger.com") [![Docker Automated buil](https://img.shields.io/docker/automated/openmaptiles/postgis.svg)]()

A custom PostgreSQL Docker image based off GEOS 3.5 and PostGIS 2.2.
A custom PostgreSQL Docker image based off GEOS 3.6.0 and PostGIS 2.3.1.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion initdb-postgis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function execute_sql_into_template() {
}

function create_postgis_extension() {
cd "/usr/share/postgresql/9.5/contrib/postgis-2.2"
cd "/usr/share/postgresql/9.6/contrib/postgis-2.3"
local db
for db in template_postgis "$POSTGRES_DB"; do
echo "Loading PostGIS into $db"
Expand Down

0 comments on commit 6ce7576

Please sign in to comment.