Last active
December 28, 2016 03:10
-
-
Save dooman87/9c7d73051b50d46da7b878ead230b048 to your computer and use it in GitHub Desktop.
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
FROM mdillon/postgis:9.5 | |
WORKDIR / | |
RUN apt-get update && \ | |
apt-get install -y osm2pgsql git wget && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN git clone https://github.com/dooman87/openstreetmap-carto.git && \ | |
wget https://s3.amazonaws.com/metro-extracts.mapzen.com/melbourne_australia.osm.pbf | |
#Overriding init script to add hstore extension that osm2pgsql requires | |
COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/postgis.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment