Merge pull request #22 from PrefectureDePolice/master

Add postgis-scripts to postgis install.
This commit is contained in:
Christian Quest 2017-03-11 17:07:22 +01:00 committed by GitHub
commit 0a275d9f28
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM postgres:9.5
RUN apt-get update
RUN apt-get install -y postgis
RUN apt-get install -y postgis postgresql-9.5-postgis-scripts
ADD /setup.sql /docker-entrypoint-initdb.d/

View file

@ -56,8 +56,8 @@ CREATE TABLE events_deleted (
CREATE TABLE geo (
geom geometry(Geometry,4326),
geom_center geometry(Point,4326),
hash text,
geom_center geometry(Point,4326),
idx geometry
);